GroupingGridExcelConverterControl converter = new GroupingGridExcelConverterControl();
// Export the contents of the Grid to Excel
converter.GroupingGridToExcel(this.gridGroupingControl1, "Grid.xls", ConverterOptions.Visible); |
GroupingGridExcelConverterControl converter = new GroupingGridExcelConverterControl();
// Export the contents of the Grid to Excel
converter.GroupingGridToExcel(this.gridGroupingControl1, "Grid.xls", ConverterOptions.Visible); |
First of all i would like to say thank you to give me positive response.i tried all these things but still problem in same.
Hi Deepak,Thanks for your update.We have analyzed your scenario, but unfortunately we were unable to reproduce the issue at our end. Please ensure that the Syncfusion.GridConverter.Windows.dll assembly and Syncfusion.GridConverter.Windows name space are included in your project. Please provide the below details that will help us to provide a proper solution at the earliest:
- The Syncfusion EssentialStudio product version.
- Code customization of exporting which you have tried or if possible provide the simple sample with issue reproducible.
- Details of exceptions/issue if any you faced.
Regards,Arulpriya
1.The Syncfusion EssentialStudio product version is 14.4.0.15
2.Code customization of exporting which you have tried or if possible provide the simple sample with issue reproducible
Dim converter As New GroupingGridExcelConverterControl()
converter.ExportBorders = True
converter.ExportImage = True
converter.GroupingGridToExcel(Me.LSTFEEREGISTER, "FileName.xls", ConverterOptions.Default)
3.Details of exceptions/issue if any you faced
GroupingGridExcelConverterControl() is not valid function
Thank you for Quick Reply.i am checking this and reverting you ASAP.
2. Since the export to excel methods do not support exporting only specified records, you can work-around this if you temporarily hide the unnecessary rows and use class with the
DonNotExport
for
HiddenRowOption
properties.
3. In the click event of the context menu item, mark the rows in the RadGridView.Rows collection that match the rows of the child collection by setting their
IsVisible
property to
true
, and all the rest to
false
. Then simply export RadGridView with
HiddenRowOption
set to
HiddenOption.DoNotExport
:
I hope this helps!
Ben Martin