I have a radgrid within a multiPage interface. The grid populates fine. Here is the Aspx definition on this
<telerik:RadGrid ID="RadGrid1" runat="server" AllowCustomPaging="True"
AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True"
GridLines="None" Skin="WebBlue">
I have an imagebutton that when clicked does this
Dim filename As String = "whatever.xls"
RadGrid1.ExportSettings.OpenInNewWindow = True
RadGrid1.ExportSettings.FileName = filename
RadGrid1.ExportSettings.ExportOnlyData = True
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.ExportSettings.OpenInNewWindow = True
No matter what, the resulting excel only contains the first 25 rows. I have also tried forcing the above code by adding the following
RadGrid1.MasterTableView.AllowPaging = false
RadGrid1.Rebind()
'... the above code here and then..
RadGrid1.MasterTableView.AllowPaging = true
RadGrid1.Rebind()
No approach seems to work. There is no AjaxManager involved, and the grid itself is not ajaxified. Anyone out there have any ideas? The only complication in all of this is that the grid resides in a multipage / tabbed interface, but the export to Excel button resides outside of the multipiage. Also, I am using MasterPages - pretty simple there - no AjaxManager there either. Any thoughts appreciated.