title: OutofMemory Exception Dropdownlist when autopostback=true
body: <p>I have a master page than contains my ScriptManager.
  On a child page i have an updated panel.
  Inside the update panel there is a dropdowlist.
  When i set the autopostback=true i get OutofMemory Exceptions.
  All the time.
  Please also note that I have AjaxControlToolkit set on my web.config.</p>
  
  <p>Here is parts of my Code.</p>
  
  <p>MasterPage.aspx</p>
  
  <pre><code>&lt;ajax:ToolkitScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" &gt;&lt;/ajax:ToolkitScriptManager&gt;
  </code></pre>
  
  <p>Child Page</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="upChTime" runat="server"&gt;&lt;ContentTemplate&gt;
          &lt;table cellpadding="0" cellspacing="0"&gt;
             &lt;tr&gt;
                  &lt;td&gt;&lt;asp:TextBox runat="server" ID="txChTimeClientCode" /&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;asp:DropDownList runat="server" ID="dpChTimeClient" /&gt;&lt;/td&gt;
             &lt;/tr&gt;
  </code></pre>
  
  <p>So when i set the AutoPostBack=True on the DropdownList the Visual Studio internal webserver goes to 500MB and i get a OutOfMemory Exception.</p>
  
  <p>After a comment Child Page Code Behind</p>
  
  <pre><code>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
      If Not IsPostBack Then
          PopulateLatestClients()
      End If
  End Sub
  
  Private Sub PopulateLatestClients()
      dpChTimeClient.DataSource = GetLatestClients()
      dpChTimeClient.DataTextField = "description"
      dpChTimeClient.DataValueField = "id"
      dpChTimeClient.DataBind()
      dpChTimeClient.Items.Insert(0, "")
  End Sub
  </code></pre>