This is a migrated thread and some comments may be shown as answers.

Please Help..Export with IgnorePaging=true on page load

3 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mpaul
Top achievements
Rank 1
mpaul asked on 21 Dec 2010, 02:29 PM
I have the ignore paging flag turned on and in my page load, i need to export ALL data. So, in the Page_PreRender event, I call the ExportToCSV method, but only the first page gets exported. Any ideas?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Dec 2010, 09:20 AM
Hello,

I guess you are using Simple Data Binding. If that the case I suggest you to use Advanced Data-binding (using NeedDataSource event) to get the complete grid items when exporting.

Hope this information helps,
Princy.
0
mpaul
Top achievements
Rank 1
answered on 22 Dec 2010, 02:24 PM
Nope, I'm using the NeedDataSource advanced binding.
0
Daniel
Telerik team
answered on 22 Dec 2010, 10:55 PM
Hello Mpaul,

Could you please post some code that illustrates your approach? This way we would be able to provide more to-the-point answer.

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
mpaul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
mpaul
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or