hi
refer below thread
http://www.aspforums.net/Threads/130446/problem-in-using-popup-menu/?s=2#Replies
now I use 2 popup menu in page:
first
<div id="DI1R1">
<asp:Image ID="Image1" runat="server" CssClass="imgT1" Visible="false"></asp:Image>
</div>
<asp:UpdatePanel ID="Updatepanel1" runat="server">
<ContentTemplate>
<div id="Div1">
<asp:ImageButton ID="ImageButton3" runat="server" CausesValidation="false" CssClass="DPC9_Img2m"
ImageUrl="~/Image/admin/imgdelete.png" Visible="false"></asp:ImageButton>
<asp:Label ID="Label1" runat="server"></asp:Label>
<asp:Panel ID="Panel2" runat="server">
<asp:ModalPopupExtender DropShadow="true" ID="ModalPopupExtender6" PopupControlID="PnPopup6"
runat="server" TargetControlID="BtnPopup6" BackgroundCssClass="Modal" CancelControlID="Imgclose">
</asp:ModalPopupExtender>
<asp:Button ID="Button2" OnClick="BtnPopup6_Click" runat="server" Text="انتخاب ویدیو"
CssClass="DPC9_Img2" BorderStyle="Solid" BorderWidth="0px" BorderColor="White"
CausesValidation="false" />
<asp:Panel ID="Panel3" runat="server" BackColor="White" CssClass="panel" Style="display: none">
<div class="CloseImge">
<asp:ImageButton ID="ImageButton4" runat="server" CssClass="closeI" ImageUrl="~/Image/admin/imgdelete.png"
CausesValidation="false" />
</div>
<div class="CloseImge1">
<asp:TextBox ID="TextBox2" runat="server" CssClass="txtdesA"></asp:TextBox>
<asp:ImageButton ID="ImageButton5" OnClick="BtnUploadL6_Click" runat="server" CausesValidation="false"
ImageUrl="~/Image/admin/createGalary.png" CssClass="load" />
</div>
</asp:Panel>
</asp:Panel>
</div>
</ContentTemplate>
</asp:UpdatePanel>
second
<div id="DI1R1">
<asp:Image ID="Img5" runat="server" CssClass="imgT1" Visible="false"></asp:Image>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="Div1">
<asp:ImageButton ID="Imgdelete5" runat="server" CausesValidation="false" CssClass="DPC9_Img2m"
OnClick="btnDeleteImage5_Click" ImageUrl="~/Image/admin/recycle.png" Visible="false">
</asp:ImageButton>
<asp:Label ID="Lblimg5" runat="server"></asp:Label>
<asp:Panel ID="Panel4" runat="server">
<asp:ModalPopupExtender DropShadow="true" ID="ModalPopupExtender5" PopupControlID="PnPopup5"
runat="server" TargetControlID="BtnPopup5" BackgroundCssClass="Modal" CancelControlID="Imgclose5">
</asp:ModalPopupExtender>
<asp:Button ID="BtnPopup5" OnClick="BtnPopup5_Click" runat="server" Text="انتخاب تصویر"
CssClass="DPC9_Img2" BorderStyle="Solid" BorderWidth="0px" BorderColor="White"
CausesValidation="false" />
<asp:Panel ID="PnPopup5" runat="server" BackColor="White" CssClass="panel" Style="display: none">
<div class="CloseImge">
<asp:ImageButton ID="Imgclose5" runat="server" CssClass="closeI" ImageUrl="~/Image/admin/imgdelete.png"
CausesValidation="false" />
</div>
<div class="CloseImge1">
<asp:FileUpload ID="fup5" runat="server" ToolTip="برای بار گذاری عکس کلیک نمایید."
CssClass="fup" />
<asp:ImageButton ID="ImageButton11" OnClick="BtnUploadL5_Click" runat="server" CausesValidation="false"
ImageUrl="~/Image/admin/createGalary.png" CssClass="load" />
</div>
</asp:Panel>
</asp:Panel>
</div>
</ContentTemplate>
</asp:UpdatePanel>
the first popup menu worked correctly but when I used same code for second popup it doesn't worked I mean when I click on BtnPopup5 (imagebutton) popup will appear but when I click on ImageButton11 to run behind code it doesn't do any thing I mean it doesn't run behind code and doesn't disappear popup and popup will stay on page...
it just worked when I remove this code:
<asp:UpdatePanel runat="server">
<ContentTemplate>
when I remove above code from second popup it will worked but disappear popup lately
what should I do know...
how I can use 2 popup in page that both worked like first popup...
best regards
neda