Reputation: 11
I want to add a popup window which is a child window of my main asp.NET form. This window accepts the information through drop down list selected by the user. When this window is opened the focus will go to this window and main window will disable.
Upvotes: 0
Views: 5668
Reputation: 724
Use showModalDialog for opening the popup window.
window.showModalDialog("childpage.aspx", "", "center:yes;resizable:no;dialogHeight:480px;dialogWidth:750px;");
This will make parent page disabled in IE.
Upvotes: 2