oasisok Newbie
Joined: 15 Sep 2004 Posts: 7 Location: Oklahoma
|
Posted: Oct 5th, 2004 08:32 AM Post subject: Disable/Hide button when opening Dialog Box through ASP.NET |
|
|
I am looking for code for a button on a website, and I want it to prevent users from clicking more than once while their request is being processed. I would like it to disable or hide the button once clicked and then enable it after the process is completed from either the server or a web dialog box.
I did find a sample on disabling the button while the server is processing their request and the sample was found here:
[link]
It worked perfectly, but not if the button was clicked for a popup. I did find code to show a modal dialog box, but that popup wouldn't display the Acrobat file at all (I know, a real pain). The link for the code I found is located here:
[link]
Is there any sample code to disable a button OR display a separate popup form module that can show an Acrobat file and not allow the user to go to the main form until the Acrobat document is taken care of first?
I wish I could show what code I have so far but company policy won't allow me to do that. :dgi:
Impossible?
TIA
James |
|