﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Export Hierarchical Grid Data.. Pointers and ideas required </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-Hierarchical-Grid-Data-Pointers-and-ideas-required/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Export Hierarchical Grid Data.. Pointers and ideas required </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-Hierarchical-Grid-Data-Pointers-and-ideas-required/</link><pubDate>Tue, 11 Oct 2011 23:04:32 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I tried to reproduce the problem based on the provided information by creating a simple sample of page containing hierarchical WebGrid. The hierarchical data is bind through the InitializeDataSource server-side event and the “Export” feature is enabled. However, my efforts were not successful – everything worked smoothly and the export feature (the export root and the export child table) was accessed without any issues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;The sample is enclosed as attachment. You need to add the sample in the WebGridSamples project in order to make the sample run-able.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I am willing to advise you further but in order to do so I would need you to elaborate on your specific scenario and possibly give us a running simple sample (you may modify my sample so that it reproduce the issue) and step-by-step guide that we can use to observe the problematic behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Regarding the original question in the “Is it possible to export entire hierarchical grid?” thread that available in &lt;a href="http://www.intersoftpt.com/Community/WebGrid/Is-it-possible-to-export-entire-hierarchical-grid/"&gt;http://www.intersoftpt.com/Community/WebGrid/Is-it-possible-to-export-entire-hierarchical-grid/&lt;/a&gt;. As stated in my reply, in the current build version of WebGrid, it is not possible to export all tables (the root table and its child table) in one export activity. You can either export the root table or export the selected child table.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I may be able to help by submitting this as feature request to WebGrid development team.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Export Hierarchical Grid Data.. Pointers and ideas required </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-Hierarchical-Grid-Data-Pointers-and-ideas-required/</link><pubDate>Tue, 11 Oct 2011 08:22:07 GMT</pubDate><dc:creator>davidpendry</dc:creator><description>&lt;br /&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;( I have allready posted this question twice , but for some reason your forum isnt showing them.. )&lt;/p&gt;
&lt;p&gt;We have a Hierarchical Grid that is bound and formatted from the code behind, but whenever a Export is tried, the "Export Selected Child Table" is grayed out and the function fails with a popup box saying&lt;/p&gt;
&lt;p&gt;"Object Reference not set to an instance of an object"&lt;br /&gt;(This is being shown after the call to OnExport override has been called and exits successfully)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,geneva,sunsans-regular,sans-serif;"&gt;I have also viewed this thread:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,geneva,sunsans-regular,sans-serif;"&gt;http://www.intersoftpt.com/Community/WebGrid/Is-it-possible-to-export-entire-hierarchical-grid/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,geneva,sunsans-regular,sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;Is there anything special we have to perform in OnExport and OnPrepareExportExecute ?&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,geneva,sunsans-regular,sans-serif;"&gt;Can you please advise or give me some workarounds ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,geneva,sunsans-regular,sans-serif;"&gt;David&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
</description></item></channel></rss>