Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a problem : an asp.net page I wrote allows me to interact with it while a search is launched using a feature of the page itself .
I would like to prevent the page from accepting commands while it is searching , and reenable accepting commands after the search is over.
How can i do that ?

What I have tried:

actually nothing, i have no idea how to do it
Posted
Updated 8-Mar-17 4:09am
Comments
ZurdoDev 8-Mar-17 10:51am    
You need to explain much more clearly what you want to do, unless Solution 1 gives you what you need.

1 solution

Assuming you mean stopping people click on links etc this is achieved by putting a slightly transparent div over the whole page so the user can see a faded image of what is behind but can't click anything as the div is in the way. If you google something like "jquery screen disable" you'll find lots of plug-ins that allow you to do this kind of thing.

If by disabling browser commands you mean things like f5, back button etc then you can't do that at all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900