Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a modal pop up in my web form. i have two buttons .when i click the find button the modal pop up opens up and the is proceeded after that i close the pop up and save the records . the next time i click the find button the pop up is not opening

Here is the code

C#
<asp:UpdatePanel ID="Up" runat="server">
    
    
    <asp:Button ID="btnDummy" runat="server" Text="" BackColor="White" Height="0px" Width="0px" />

        <asp:Button ID="btnclose" runat="server" BackColor="White" Height="0px" Text="" 
            Width="0px" />

 <cc1:ModalPopupExtender ID="btnclose_ModalPopupExtender" BackgroundCssClass="modalBackground"
              runat="server"  OkControlID="btnOkay" CancelControlID="btnclose" TargetControlID="btnDummy"
            PopupControlID="pnlYesNo" Drag="true" 
            PopupDragHandleControlID="PopupHeader">
        
        <cc1:ModalPopupExtender ID="ModalPopupExtender1"   runat="server" 
            BackgroundCssClass="modalBackground" CancelControlID="btnCancel" Drag="true" 
            OkControlID="btnOkay" PopupControlID="pnlYesNo" 
            PopupDragHandleControlID="PopupHeader" TargetControlID="btnDummy">
        
        <asp:Panel ID="pnlYesNo" runat="server" class="popupConfirmation" >
           <div class="popup_Container">
                <div class="popup_Titlebar" id="PopupHeader">
                    <div class="TitlebarLeft">Popup Header</div>
                    <div class="TitlebarRight"></div>
                </div>
                <div class="popup_Body">
                
                <table width="250" >
                <tr>
                <td align="center" colspan="3" >
                    <asp:Label ID="Label15" runat="server" ForeColor="#3333CC" 
                        Text="Please re-enter the correct FLW ID" Font-Names="Calibri" 
                        Font-Size="Medium">
                    </td>
                <td align="left">
                     </td>
                </tr>
                
                
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label3" runat="server" Font-Names="Calibri" Font-Size="Medium" 
                                ForeColor="#3333CC" Text="FLW ID" Width="80px">
                        </td>
                        <td align="left" width="50">
                            <asp:TextBox ID="txtFLWIDUC" runat="server" MaxLength="10" Width="100px">
                        </td>
                        <td align="left" width="20">
                            <asp:Button ID="btnFindUC" runat="server" BackColor="#1A48C0" Font-Bold="True" 
                                Font-Names="Calibri" Font-Size="Medium" ForeColor="White" Height="24px" 
                                onclick="btnFindUC_Click" Text="Find" Width="80px" />
                        </td>
                        <td align="left">
                             </td>
                    </tr>
                
                
                 <tr>
                  <td colspan="4">
                     <asp:Label ID="Label13" runat="server" Font-Names="Calibri" ForeColor="#3333CC" 
                    Text="This FLW ID is not registered,      Do you want to register the issue?" 
                Font-Bold="True" Visible="False" Font-Size="Large">
                </td>
                </tr>
                 <tr>
                 <td colspan="4" align="center"> 
                 
                 
                     <asp:CheckBox ID="ChkboxYesNo" runat="server" Font-Names="Calibri" 
                         Font-Size="Medium" ForeColor="#3333CC" Text="Register" AutoPostBack="True" 
                         oncheckedchanged="ChkboxYesNo_CheckedChanged" Enabled="False" />
         </td>
        </tr>
        
                    
                    
                   
<tr>
    <td align="center" colspan="4">
   <table>
            <tr>
            <td width="250">
                 </td>



please help me..
Posted
Updated 16-Jul-12 2:03am
v2
Comments
Manas Bhardwaj 16-Jul-12 6:06am    
its difficult to say without looking at your code.!
Member 8388026 16-Jul-12 6:12am    
k fine ill post it
Sebastian T Xavier 16-Jul-12 8:03am    
Removed your comment and edited your question.
S@53K^S 16-Jul-12 9:16am    
Did you to recreate the modal pop-up after it is destroyed ?
Member 8388026 17-Jul-12 11:42am    
yes i had been continue-sly doing that recreating it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900