postback not completed after Export to Excel

6 posts, 0 answers
  1. Sudhindra Shetty
    Sudhindra Shetty avatar
    4 posts
    Member since:
    May 2010

    Posted 14 Jul 2011 Link to this post


    I am trying to use Serverside ExporttoExcel() function which when executed the page doesnot complete the postback.

    The download completes but the page is not completing the page lifecycle.

    I have Export to Excel in a dropdownList.When that is selected the save/cancel window comes up. Even when i do either of them the dropdown would still remain on export to excel.

    Any help in this matter would be appreciated.

  2. Daniel
    Daniel avatar
    4949 posts

    Posted 21 Jul 2011 Link to this post

    Hello Ashwini,

    The exported file will be streamed to the response and the response headers will be replaced. This means that a normal ASP.NET response will never reach the browser so the screen won't flick - instead, you will get file download dialog.

    Best regards,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Yogesh
    Yogesh avatar
    2 posts
    Member since:
    Nov 2010

    Posted 14 Nov 2012 Link to this post

    We are also using the "ExportToExcel" functionality. The Excel file gets generated, but after that all server side events on the page get disabled. i.e. After exporting all the other events on the page stop working.
    However if we refresh the page, the events start getting triggering again.
  4. Daniel
    Daniel avatar
    4949 posts

    Posted 14 Nov 2012 Link to this post

    Hello Yogesh,

    Could you help me reproduce this issue? You can submit a formal support ticket with a simple demo attached. If it is simple enough you can post it here in the forum within code-snippet blocks.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. John
    John avatar
    1 posts
    Member since:
    Mar 2014

    Posted 29 Apr 2014 Link to this post

    Was this issue ever resolved? I'm experiencing the same problem; after exporting to Excel, any server side events on the page get disabled until the client manually reloads the page. Is there a way to either:

    - Get server-side events to work again, or
    - Make the page refresh itself after the Excel download completes?
  6. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Apr 2014 in reply to John Link to this post

    Hi John,

    Make sure you have not used RadAjaxPanel and RadAjaxManager together in your page. Note that it is not a supported scenario to use RadAjaxPanel and RadAjaxManager to update the same controls on the page or add RadAjaxPanel into RadAjaxManager settings. Therefor make sure you remove the RadAjaxPanel and use only RadAjaxManager to ajaxify the controls in order to avoid possible issues with the Ajax functionality.
    If this doesn't solve the issue, paste your full code snippet.

Back to Top