Hi Infragistics Team,
We are already used This Version=1.0.3300.0 Now Upgrading This Version=15.1.20151.1018.
I have some Problem:
Infragistics.WebUI.UltraWebGrid.ExcelExport this old version Namespace . now Upgrading new Version . in this New version that namespace is Not available . if any other Namespace is available . please see the below code .
UltraWebGrid exportGrid = new UltraWebGrid("MaRSRiskTypeExport");
exportGrid.DisplayLayout.HeaderStyleDefault.Font.Bold = true;
exportGrid.DisplayLayout.RowStyleDefault.BorderStyle = BorderStyle.None;
exportGrid.DisplayLayout.RowStyleDefault.Font.Size = 10;
exportGrid.DataSource = DataAccessController.DataAccess.GetMarsRiskTypes();
exportGrid.DataBind();
exportGrid.Columns[0].Hidden = true;
exportGrid.Columns[1].HeaderText = "Name";
exportGrid.Columns[2].HeaderText = "Description";
ExcelExporter.BeginExport += new Infragistics.WebUI.UltraWebGrid.ExcelExport.BeginExportEventHandler(ExcelExporter_BeginExport); // This Event also not available .
ExcelExporter.ExcelStartRow = 4; // This ExcelStartRow & ExcelEnd Properties is Not available.
ExcelExporter.Export(exportGrid);
Please Help on this above problem how can I change the property & Event also like +=.
Thanks & Regards
Nagarajan P
Thanks For Replay .
See below screen shot .
see below Error.
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Infragistics4.Web.v15.\v4.0_15.1.20151.1018__7dd5c3163f2cd0cb\Infragistics4.Web.v15.1.dll and
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Infragistics45.Web.v15.1\v4.0_15.1.20151.1018__7dd5c3163f2cd0cb\Infragistics45.Web.v15.1.dll
Please give me solution
9894916082
Hello Nagarajan,
To get the same functionality as offered in earlier versions with the UltraWebGrid.ExcelExport you would need to utilize the WebExcelExporter control. Here's a link to our documentation with more info on the control: http://help.infragistics.com/doc/ASPNET/2015.1/CLR4.0/?page=Web_WebExcelExporter.html
Here's a sample on its use:
http://es.infragistics.com/samples/aspnet/excel-exporter/export-webdatagrid
Thanks for Replay SAM .
Now upgrading Infragistics 2015 v1 pack . my question is in old version(1.0.3300.0) Infragistics.WebUI.UltraWebGrid.ExcelExport ; this namespace is available. it's BeginExportEventHandler event method also there.
But in latest version 2015 v1, that namespace is not there ?. that event handler now which event is equal to latest version . some event also there for ex onExporting , onExported . but in this method we can't set Excel Start Row property .
Already I shared my code . pls help on this .
The version you state you are upgrading from is incorrect. You might have confused it with the line commonly placed within the Web.config to enable the infragistics.web tag to add styling.
Anyway, it looks like you are trying to export the content of a grid to a excel spreadsheet. You can utilize the WebExcelExporter control. Here's a link to our documentation with more info on the control: http://help.infragistics.com/doc/ASPNET/2015.1/CLR4.0/?page=Web_WebExcelExporter.html