We're using 2010 Vol 3.
If you assign the PopupDragHandleControlID property in a ModalPopupExtender, when the ModalPopupExtender is shown it is obscured by the WebTab, see this screenshot:
Here's the code:
<ig:WebTab ID="WebTab1" runat="server" Width="800px" Height="300px">
<Tabs>
<ig:ContentTabItem Text="<%$ Resources:Dictionary, sGeneral %>" Key="General">
<Template>
<asp:Button ID="B1" runat="server" Text="Show Modal" />
<asp:Panel ID="P1" runat="server" Width="200px" Height="400px" BackColor="Red" BorderColor="Black" BorderWidth="1px">
</asp:Panel>
<act:ModalPopupExtender ID="MPE1" runat="server" TargetControlID="B1" PopupControlID="P1" PopupDragHandleControlID="P1" />
</Template>
</ig:ContentTabItem>
</Tabs>
</ig:WebTab>
Any ideas?
Hello,
I have been able to reproduce the behavior you are experiencing. I believe this may be the expected behavior for this control. I am going to look into this further and will update you in a few business days with my progress.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
I believe that this is the expected behavior of the WebTab, I recommend that you use the WebDialogWindow and set UseBodyAsParent to true.
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3/CLR4.0/?page=Infragistics4.Web.v10.3~Infragistics.Web.UI.LayoutControls.WebDialogWindow~UseBodyAsParent.html
Please let me know if I may be of further assistance with this matter.
Thank you for your patience. An option to consider is to re-parent the ModalPopupExtender to a panel that is outside the WebTab so the ModalPopupExtender can appear how you wish. I have contacted development to discuss possible alternate suggestions for this issue. I will give you a progress update in a few business days.
I have heard back from development they do not have any further ideas on how you can achieve this. It seems the best idea is to re-parent the ModalPopupExtender to a panel that is outside the WebTab.
I am following up to see if the information provided has resolved this matter.
Unfortunately no, this does not resolve the issue. Re-parenting the modal popup extender outside of the tab is not possible, because in most cases the extenders are contained within web controls and user controls that are inside the tabs.
Regards.
Your best options are to either re-parent the ModalPopupExtender outside of the tab or to use the WebDiaglogWindow with the property UseBodyAsParent set to true.