Hi,
we have a radgrid with paging enabled, advanced databinding using the NeedDataSource event and filtering enabled on a column.
When we call MasterTableView.ExportToExcel() we're getting the following error :
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Web.UI.RadAjaxControl.OnPagePreRenderComplete(Object sender, EventArgs e) +83
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8699938
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029
The ExportSettings.IgnorePaging is set to true. When i change that to false the export does work.
I've read a thread on this forum and the answer to this problem was to use advanced-binding but we're already using that.
We're using Telerik.web.dll 2010.1.519.35
we have a radgrid with paging enabled, advanced databinding using the NeedDataSource event and filtering enabled on a column.
When we call MasterTableView.ExportToExcel() we're getting the following error :
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Web.UI.RadAjaxControl.OnPagePreRenderComplete(Object sender, EventArgs e) +83
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8699938
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029
The ExportSettings.IgnorePaging is set to true. When i change that to false the export does work.
I've read a thread on this forum and the answer to this problem was to use advanced-binding but we're already using that.
We're using Telerik.web.dll 2010.1.519.35