title: UserControl CancelControlID working for all other controls?
body: <p>Hi i have created one User control which is a Popup , It is absolutely working fine , But when i click on other buttons which is other than close button it is getting closed..</p>
  
  <p>Here is my code,</p>
  
  <pre><code>       &lt;ajax:ModalPopupExtender ID="ModalPopupContextInfo" runat="server" 
               TargetControlID="btnShowEditContextPopup" PopupControlID="pnlpopupContextInfo"
             CancelControlID="imgClose" BackgroundCssClass="modalBackground"&gt;
         &lt;/ajax:ModalPopupExtender&gt;
       &lt; asp:Panel ID="pnlpopupContextInfo" DefaultButton="imgbtnUpdate" runat="server" BackColor="White" Height="360px" Width="400px" Style="display: none" &gt;
  
         &lt;asp:ImageButton ID="imgClose" runat="server" ImageUrl="~/image_repository/cancelButton.png" ToolTip="Close" /&gt;
        ..................
         // Code for Labels and text boxes..
           &lt;asp:ImageButton ID="imgbtnCancel" runat="server" CausesValidation="false" TabIndex="8" ImageUrl="~/image_repository/cancel.png" /&gt;
           &lt;asp:ImageButton ID="imgbtnUpdate" runat="server" CausesValidation="false" TabIndex="8" ImageUrl="~/image_repository/UpdateVoyage.png" /&gt;
         &lt;/asp:Panel&gt;  
  </code></pre>
  
  <p>Here when i click on Update or Cancel Button also the popup is getting closed..
  how to respond the user control's button(Update here) click event from the parent web form (aspx page)</p>
  
  <p>Can anyone help</p>