I have a modalpopup that was working fine before I added two viewpanels inside a multiview. I have placed one of the viewpanels around the modalpopup and the related popup panel. I populate the contents of the popup panel in code behind. This still works
but the popup panel no longer pops up in the center of the page but is visible when the viewpanel is shown. It get's populated but remains in the same position at the bottom of the page and is not modal but allows buttons outside of the popup panel to be clicked
and activated.
Is there something about using a multiview that I need to know about when using the modalpopup extender?
thsman
Member
47 Points
94 Posts
modalpopup isn't modal
Nov 04, 2012 08:24 PM|LINK
I have a modalpopup that was working fine before I added two viewpanels inside a multiview. I have placed one of the viewpanels around the modalpopup and the related popup panel. I populate the contents of the popup panel in code behind. This still works but the popup panel no longer pops up in the center of the page but is visible when the viewpanel is shown. It get's populated but remains in the same position at the bottom of the page and is not modal but allows buttons outside of the popup panel to be clicked and activated.
Is there something about using a multiview that I need to know about when using the modalpopup extender?
thsman
Member
47 Points
94 Posts
Re: modalpopup isn't modal
Nov 05, 2012 10:40 AM|LINK
After further investigating I can see that the MPE isn't actually firing at all but I still can't figure out why.
thsman
Member
47 Points
94 Posts
Re: modalpopup isn't modal
Nov 05, 2012 11:25 AM|LINK
Finally fixed it. For anyone else who may be struggling with the same thing it appears the target button must be above the mpe.
Catherine Sh...
All-Star
23382 Points
2490 Posts
Microsoft
Re: modalpopup isn't modal
Nov 07, 2012 03:07 AM|LINK
Hi,
Thank you for sharing your solution. That will help others who meet the same issue.
Best wishes,
Feedback to us
Develop and promote your apps in Windows Store