how to disable form controls on the form when some popup is visible using javascript??
-
hello I the project of asp.net 2.0 . I have to disable other controls on the page when Popup is displayed on the screen.when popup is closed controls should be enabled. I hhave two display two different Popups depending on condition,so I can't use AJAX control ModulPoupExtender. How to achieve this using javascript? Please guide. thanks.
yog hui gfgh kgdgrt njjn hjgkn
-
hello I the project of asp.net 2.0 . I have to disable other controls on the page when Popup is displayed on the screen.when popup is closed controls should be enabled. I hhave two display two different Popups depending on condition,so I can't use AJAX control ModulPoupExtender. How to achieve this using javascript? Please guide. thanks.
yog hui gfgh kgdgrt njjn hjgkn
The main trick is that if they are server controls, you need to store their client side Id with something like var controlId = '<%=ServerControl.ClienID%>' Then it's just a case of var control = document.getElementByID(controlID); if (control) { control.disabled = true; }
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
hello I the project of asp.net 2.0 . I have to disable other controls on the page when Popup is displayed on the screen.when popup is closed controls should be enabled. I hhave two display two different Popups depending on condition,so I can't use AJAX control ModulPoupExtender. How to achieve this using javascript? Please guide. thanks.
yog hui gfgh kgdgrt njjn hjgkn
A quick way of doing it that doesn't involve loads of enabling and disabling is to add a "veil" to the page, which is basically a transparent div (or opaque - looks kinda cool!), sized to the full screen, then when you show your popup, show the veil on z-index 99, so that it's in front of everything else (except the popup window obviously) - this then stops anything behind it recieving input.
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman" (Lilly Allen / Kaiser Chiefs)
-
A quick way of doing it that doesn't involve loads of enabling and disabling is to add a "veil" to the page, which is basically a transparent div (or opaque - looks kinda cool!), sized to the full screen, then when you show your popup, show the veil on z-index 99, so that it's in front of everything else (except the popup window obviously) - this then stops anything behind it recieving input.
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman" (Lilly Allen / Kaiser Chiefs)
hi Lilly / Kaiser , Thank you for the reply but will you please tell me how to use this transperent div that is "Veil". _I'm using asp.net 2.0 is it possible in this. Please explain in a little bit detail way. thank you.
yog hui gfgh kgdgrt njjn hjgkn