2 posts, 0 answers
  1. Spiros
    Spiros avatar
    15 posts
    Member since:
    May 2010

    Posted 07 Jul 2014 Link to this post

    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
  2. Viktor Tachev
    Viktor Tachev avatar
    2405 posts

    Posted 10 Jul 2014 Link to this post

    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.

    Viktor Tachev

    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.

Back to Top