Does any one have a good example of exporting grid excell? I am having some issues following the examples in the docs.
Hi,
Can you provide more detailed info please? What kind of issues you have exactly?
I am trying to export the contnet of 'Infragistics.WebUI.UltraWebGrid.UltraWebGrid'
Her is my simple code..
UltraWebGridExcelExporter1.DownloadName =
"test.xls"
UltraWebGridExcelExporter1.Export(CureBagGrid) '
Below is the error I am getting.
Error 10 Value of type 'Infragistics.Web.UI.GridControls.WebDataGrid' cannot be converted to 'Infragistics.WebUI.UltraWebGrid.UltraWebGrid'. C:\GatesFAS\Cormetech\New Folder\Cormetech\Cormetech\FasSummary.aspx.vb 101 43 C:\...\Cormetech\
You are trying to export the new WebDataGrid with the legacy UltraWebGridExcelExporter. Both controls are incompatible. You should use the new WebExcelExporter instead.
That worked but I had to revert to an older version of grid. For some reasons I do not have an excel exporter at 'Infragistics.WebUI.' It is not even an option to chose from . Any ideas why?
It's in the Infragistics35.WebUI.UltraWebGrid.ExcelExport.v10.1 assembly (version 10.1 for 3.5 framework)
Yes, you have to upgrade to version 10.2.
I am using 10.1. I guess I must upgrade
Which version of NetAdvantage you are working with? The Excel exporter is introduced in 10.2. Maybe you have an older version of the product?
I only have Infragistics.Web.UI.GridControls to choice from. AM I doing something wrong?
Yes, it's Infragistics.Web.UI.GridControls.WebExcelExporter.