title: How to set TargetContrlID in ModalPopupExtender with a control in a GridView
body: <p>How can I set <code>TragetContriID</code> to a <code>HyperLink</code> that is inside a <code>GridView</code>?</p>
  
  <p>I tried this :</p>
  
  <pre><code>&lt;asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
                          PopupControlID="Panel1" 
                          CancelControlID="btnCancel" 
                          OnCancelScript="HideModalPopup()"
                          TargetControlID="GridView1$HyperLink1"&gt;
  &lt;/asp:ModalPopupExtender&gt;
  </code></pre>
  
  <p>But I have an error: that there is no <code>GridView1$HyperLink1</code></p>