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

Export to Excel

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AG
Top achievements
Rank 1
AG asked on 18 May 2011, 03:12 PM
Hi,


I have rad tool bar and i have a grid which is defined under radajax panel. I want to click button from tool bar and export Grid to excel. II followed instructions on Telerik site but nothing worked. Any idea ?



Regards,

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 20 May 2011, 01:18 PM
Hi,

If the toolbar is ajaxified, you will have to cancel the ajax callback and make full postback to be able to export the grid. See this help article for more details. http://www.telerik.com/help/aspnet-ajax/grid-export-with-ajax-enabled.html

If the toolbar makes regular post-back, you just have to handle the server button click and export the grid. The same way as is done for the buttons in this online demo: http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/exporting/defaultcs.aspx

Regards,
Vasil
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
AG
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or