- Home
- Forum
- ASP.NET Web Forms
- Grid Export to Excel Fails when Text Filter Enabled
Grid Export to Excel Fails when Text Filter Enabled
[Exception: Object reference not set to an instance of an object.] Syncfusion.JavaScript.Web.CommonDataBoundControl.RaisePostBackEvent(String EventArgument) +321 Syncfusion.JavaScript.Web.CommonDataBoundControl.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String args) +5 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9884278 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639
- Complete Grid code example(both in server and client side).
- Are you facing the issue while applying the filter to string(text) column alone or all the available column?
- Screenshot/Video demo along with replication procedure to reproduce the issue at our end.
- Stringified model of the Grid on server side while on Exporting as like below screenshot and copy it into clipboard.
|
|
Vignesh,
Here are the items you asked for:
1. Complete Grid code example(both in server and client side).
(See Attached Zip file)
2. Are you facing the issue while applying the filter to string(text) column alone or all the available column?
The export only appears to fail when a column is filtered to exclude (not equal to) a text value. When there are no filters or when the filter is to include (equal to) a text value the export works. (See attached screenshots in zip)
3. Screenshot/Video demo along with replication procedure to reproduce the issue at our end.
See attached screenshots in zip
4. Stringified model of the Grid on server side while on Exporting as like below screenshot and copy it into clipboard.
Not sure exactly how to do that, but I made a csv of the exported Watch variable DeficienciesGrid.Model (In attached zip)
Attachment: Grid_Export_to_Excel_Error_5065501d.zip
- Share the Essential studio version. (xx.x.x.xx).
- Share the Export Grid model. Refer the below steps,
- Open the Grid model in text visualizer. Refer the below screenshot.
- Click the Text visualizer then the model will open in mew dialog. Refer the below screenshot,
- Copy the model and past it in text document and kindly send to us.
- If possible, reproduce the reported issue in the shared sample and revert back to us.
Attachment: Stringified_Grid_Models_f763aeab.zip
- Share the Essential studio version are you using. (XX.X.X.XX)
- Reproduce the reported issue in the shared sample Or share the issue reproducing hosted sample.
Attachment: vbexport_ODBC_2fcafd7e.zip
- 7 Replies
- 2 Participants
-
LL Levi Leonards
- Apr 25, 2019 10:21 PM UTC
- May 6, 2019 12:08 PM UTC