Hi All,
I have two levels of hireachy Grid whose data iam trying to ExportToExcel . Iam using the code as:
Can any one pls let me why it is throwing me this error.
Pls let me know its very urgent.
Regards,
Asra.
I have two levels of hireachy Grid whose data iam trying to ExportToExcel . Iam using the code as:
this.radMainGrid.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;
in order to apply the styles to the Grid.
for the above code line it is throwing me error as Object Referecnce not Set to Instance of an object.
Here we are using Trial version of the Grid.
| this.radMainGrid.ExportSettings.OpenInNewWindow = true; |
| this.radMainGrid.ExportSettings.ExportOnlyData = true; |
| this.radMainGrid.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML; |
| this.radMainGrid.MasterTableView.ExportToExcel(); |
Can any one pls let me why it is throwing me this error.
Pls let me know its very urgent.
Regards,
Asra.