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
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.