title: how to get div tag from aspx page when use user control
body: <p>I have a problem when I use user control to get div tag from aspx page that contain my user control.
  I have a div in aspx page: <code>&lt;div id="divMask" class="divMask" runat="server"&gt;&lt;/div&gt;</code>
  and in my user control I want get div ID to add attribute "onclick" but I can't get it.</p>
  
  <p>My aspx page:</p>
  
  <pre><code>&lt;div id="dvConfirmAcc" runat="server" style="display: none; position: absolute; z-index: 2000; top: 155px; left: 400px;"&gt;
        &lt;uc1:ConfirmAccount ID="ucConfirmAccount" runat="server" /&gt;
  &lt;/div&gt;
  &lt;div id="divMask" class="divMask" runat="server"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>In my user control ucConfirmAccount:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      string url =  "some url";
      [I want get divMask at here].Attributes.Add("onclick", "closeMessage('" + url + "')");
  }
  </code></pre>
  
  <p>Please help me.</p>