Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Asp.net Webcontrols
posted

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

 

Parents
No Data
Reply
  • 2525
    posted

    Hello Nagarajan,

    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


Children