Disabling main page while pop up window is there.
-
Hi, I have a page1.aspx , there i have a link button on click of which i opens a pop up window. My requirement is that when my pop up window is opened then the user should not be able to perform any action on the page1.aspx I used a modular window for this, but again i have a linkbutton on that modular window, clicking on it opens a new url in new window.But i want it to be in same modular window. So any of the thing can resolve my problem 1> A pop up window where user cannot perform any action on page1.aspx 2> A modular window, having link button , clicking on it should open the new page in it self Is there any way to make the Page1.aspx disabled (fade color with)when pop up window is active. thanx
-
Hi, I have a page1.aspx , there i have a link button on click of which i opens a pop up window. My requirement is that when my pop up window is opened then the user should not be able to perform any action on the page1.aspx I used a modular window for this, but again i have a linkbutton on that modular window, clicking on it opens a new url in new window.But i want it to be in same modular window. So any of the thing can resolve my problem 1> A pop up window where user cannot perform any action on page1.aspx 2> A modular window, having link button , clicking on it should open the new page in it self Is there any way to make the Page1.aspx disabled (fade color with)when pop up window is active. thanx
sandeep kumar pundhir wrote:
A pop up window where user cannot perform any action on page1.aspx
Use
window.showModalDialog
instead ofwindow.open
.sandeep kumar pundhir wrote:
A modular window, having link button , clicking on it should open the new page in it self
use HTML "a" link instead of link button.. hope it helps....
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)