I have a link in a Master Page header that fires a modal popup. When on the content page I press the link and the modal popup works correctly, it takes complete control of the screen and when a button is clicked the code behind creates a new window and then
returns control to the screen
This works fine.
If I immediately upon control of the screen click the same link again the modal popup does not take control of the screen. The panel just appears on the screen and the whole page is available to the user.
Any reason why without a page refresh the modal popup only works once ...
lmmmmm
Member
426 Points
97 Posts
back to back Modal Popups dont disable screen
Apr 13, 2012 08:22 PM|LINK
I have a link in a Master Page header that fires a modal popup. When on the content page I press the link and the modal popup works correctly, it takes complete control of the screen and when a button is clicked the code behind creates a new window and then returns control to the screen
This works fine.
If I immediately upon control of the screen click the same link again the modal popup does not take control of the screen. The panel just appears on the screen and the whole page is available to the user.
Any reason why without a page refresh the modal popup only works once ...
rakesh.sawan...
Member
168 Points
172 Posts
Re: back to back Modal Popups dont disable screen
Apr 15, 2012 07:40 AM|LINK
you need to apply css to the backgroun d
.modalBackground
{
background-color:#CCCCFF;
filter:alpha(opacity=40);
opacity:0.5;
}
see the link http://www.karpach.com/ModalPopupExtender-Example.htm