title: how to change the inner html of a div
body: <p>i have a <code>div</code> and an html editor and trying to:</p>
  
  <ol>
  <li>add the div inner html to the
  editor. (thats done)</li>
  <li>then any changes done in the editor
  is saved back in the div.</li>
  </ol>
  
  <p>here is the backcode :</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e) 
  {
      Editor.Content = cvDiv.InnerHtml;
  }
  
  protected void preview(object sender, EventArgs e) //this is an onclick event
  {
      cvDiv.InnerHtml = Editor.Content;
  }
  </code></pre>
  
  <p>and the code for the editor:</p>
  
  <pre><code>&lt;asp:ScriptManager runat="server" /&gt;
  &lt;cc1:Editor ID="Editor" runat="server" OnContentChanged="preview"  /&gt;
  &lt;asp:Button runat="server" ID="eButton" CssClass="eButton" Text="Edit" OnClick="Edit" /&gt;// this is the button that is supposed to save
  </code></pre>
  
  <p>but it doesnt work.</p>
  
  <p><strong>so what i am trying to do is save whatever changes made in the editor to the div</strong></p>
  
  <p><em>using asp.net 3.5, and the ajax toolkit editor.</em></p>
  
  <p>thanks in advance.</p>