Skip to Content
author's profile photo Former Member
Former Member

protectdoublesubmit and dynamic Exceldownload

Hi all out there,

i have created a BSP-Application in MVC-Design-pattern wich shows a large list. There are some function for manipulating the list or recalculating data. Because the response time is some times long i have placed a

<protectdoublesubmit />

on the view. Additionally there is a button to download the tableview-Data to Excel. No the "please-wait" popup comes up and excel starts, but from that point i can not do any input on my Application.

Is there a solution to prevent the "please wait" popup in same cases or to send a repsonse to the browser after opening the excel-file (this is the content of the origanal response created at ON_HANDLE_EVENT)

Thanks for any help.

Kindly regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 18, 2005 at 11:49 AM


    it looks like the <protectdoublesubmit /> element has an attribute active which you can use to deactivate the element when the user wants to get the excel file.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      I think you have the following problem:

      1)Display Site (In the html code -> protect = true)

      2)User presses download button

      3)"Please wait" window appears because the client code has it enabled

      this solves your problem:

      1)Display Site (In the html code -> protect = true)

      2)User presses download button

      3)Display site again (In the html code -> protect = false)

      4)Right after the site is displayed trigger another request (javascript)

      5)Since the first roundtrip deactivated the protect tag no "Please wait" window appears.

      But this solution is really ugly and confuses every user.

      Did you consider a different approach where the user has to download the excel sheet? Then you could use Thomas extension:/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table

      I use this approach and our users are happy with the solution and I have no problems with the "Please wait" window.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.