Hi Sabarees,
I have built a test application based on your description, but I can’t reappear your issue.
Please refer to this code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModalAndTab.aspx.cs" Inherits="SoluTest_ModalOutsideUDP.ModalAndTab" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" Height="67px"
Width="189px">
<cc1:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="123"></asp:Label>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
<ContentTemplate>
<asp:Label ID="Label2" runat="server" Text="456"></asp:Label>
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
<br />
<hr />
<asp:Button ID="Button1" runat="server" Text="Click" />
<asp:Panel ID="Panel1" runat="server" Height="88px" Width="179px" BackColor="#FFFFCC">
<br />
This is Popup Panel!<br />
<br />
<input id="Button2" type="button" value="Close" />
</asp:Panel>
<cc1:ModalPopupExtender ID="MPE" runat="server" DynamicServicePath="" Enabled="True"
TargetControlID="Button1" PopupControlID="Panel1" CancelControlID="Button2">
</cc1:ModalPopupExtender>
<br />
<br />
</div>
</form>
</body>
</html>
Would you please post your relational code here. Thus, we can find the cause easier.
Best regards,
Zhi-Qiang Ni
Please remember to click “Mark as Answer” on the post that helps you , and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.