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
350
Databind issue with UltraWebGrid in Infragistics 2010.3
posted

 

 

 

 

-------------------Code Sample---------------------

UltraWebGrid UltraExcelGrid = new UltraWebGrid();

// Populate the Dataset UltraExcelGrid.DataSource

 

 

 

ds = (

 

DataSet)UltraExcelGrid.DataSource;

UltraExcelGrid.DisplayLayout.RowsRange = ds.Tables[0].Rows.Count;

UltraExcelGrid.DataSource = ds;

UltraExcelGrid.DataBind();

excelExporter.WorksheetName = title;

-------------------Code Sample---------------------

The UltraExcelGrid.DataBind(); gives error as object reference not set to an instance of an object.

The code works fine in .Net Fr 2 and Infragistcs 7.2 but fails in .Net Fr 4 and Infragistics 10.3

Please advise what changes need to be done.

Parents Reply Children
No Data