title: asp.net ajax doesn't keep textarea values in async postback
body: <p>I have a dialog popup with a textearea, two listboxes and one button. By selecting a value in the first listbox and pressing the button ">" the selected value is passed to the second listbox. This is done with asp.net ajax.</p>
  
  <pre><code>&lt;td&gt;
      &lt;div align="center"&gt;
             &lt;textarea style="height:50px; overflow:hidden;";rows="20"
                cols="40"
                id="editor1" 
                class="tinymce"&gt;
             &lt;/textarea&gt;
      &lt;/div&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I put the 2 listboxes and the button between asp.net uploadpanel. Like this:</p>
  
  <pre><code>&lt;td&gt;
                          &lt;asp:UpdatePanel runat="server" id="updatePanel1"&gt;
                              &lt;ContentTemplate&gt;
                              &lt;table width="100%" align="left"&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="5"&gt;
                                                      &lt;hr align="left" style="width:95%" /&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td valign="top"&gt;
                                                      &lt;cc1:SWCListBox
                                                          ID="SWCListBox1" 
                                                              runat="server" 
                                                              Width="100"
                                                              SelectionMode="Single" 
                                                              CssClass="VW1"&gt;
  
                                                          &lt;/cc1:SWCListBox&gt;
                                                  &lt;/td&gt;
                                                  &lt;td 
                                                      valign="top" 
                                                      width="50" 
                                                      align="center"&gt;
                                                      &lt;cc1:SWCButton
                                                          Text=" &gt; " 
                                                          ID="SWCBtnAddValue" 
                                                          CssClass="VW1 VWButton" 
                                                          runat="server" 
                                                          ToolTip="Add to list"
                                                          OnClick="AddValue_Click"
                                                          CausesValidation="false"
                                                          /&gt;
  
                                                  &lt;td valign="top"&gt;
                                                              &lt;cc1:SWCListBox
                                                                  id="SWCListBox2"
                                                                  CssClass="VW1" 
                                                                  runat="server" 
                                                                  Width="100" 
                                                                  SelectionMode="Single"
                                                          /&gt;
  
                                                  &lt;/td&gt;
                                                  &lt;/tr&gt;
                                          &lt;/table&gt;
                                        &lt;/ContentTemplate&gt;
                                      &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>The probles is that when I type something in the textarea and make an async postback the text typed fades.</p>
  
  <p>How can I keep the textarea value within async postbacks?
  thank you.</p>