title: Exclude Div in updatepanel Asp.Net
body: <p>Asp.Net 4.5 (WebForms)</p>
  
  <p>How can I exclude the container div from async postback? The container is rendering webgl. I tried adding it to the Triggers as suggested on other searches but I get an error.</p>
  
  <p><strong>Error</strong></p>
  
  <ul>
  <li>Control with ID 'container' being registered through RegisterAsyncPostBackControl...</li>
  </ul>
  
  <p><strong>Note</strong></p>
  
  <ul>
  <li>If I move the container outside of the updatepanel then it works, however the location would be wrong then.</li>
  </ul>
  
  <p><strong>Example</strong></p>
  
  <pre><code> &lt;div id="main" class="main"&gt;
          &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"&gt;
              &lt;ContentTemplate&gt;
  
                  &lt;div&gt;
                      &lt;div&gt;
                         more controls ...
                      &lt;/div&gt;
                  &lt;/div&gt;
  
                  &lt;div id="container" class="container" runat="server"&gt;&lt;/div&gt;
  
                  &lt;div&gt;   
                       more controls ...
                  &lt;/div&gt;
  
                &lt;/ContentTemplate&gt;
             &lt;Triggers&gt;
                 &lt;asp:PostBackTrigger ControlID="container" /&gt;
             &lt;/Triggers&gt;
          &lt;/asp:UpdatePanel&gt;
      &lt;/div&gt;
  </code></pre>