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

RadAjaxManagerProxy

1 Answer 35 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Spiros
Top achievements
Rank 1
Spiros asked on 07 Jul 2014, 08:41 AM
Hi ..
I have a button which Creates a pdf and after that i need to refresh the radgrid .. I call the same Search button but the radgrid remains the same and not being
refreshed. Any idea how this event can be handled ?
Thanks in advance
Spiros

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 10 Jul 2014, 07:20 AM
Hi Spiros,

If I understand your scenario correctly you would like to export the RadGrid to PDF. Please note that if the grid is Ajax-enabled you need to cancel Ajax in order for the exporting to work as expected. You need to handle the OnRequestStart event of RadAjaxManager and if the export command was triggered - cancel Ajax. Check out the approach that is illustrated in this online demo.

After the data is exported the page will be refreshed and the RadGrid will be rebound. This would also refresh the data in the grid.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Ajax
Asked by
Spiros
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or