title: Convert HTML to text with AjaxToolkit HtmlEditorExtender inside a gridview
body: <p>I have a text field in database with HTML code, and I need to display, in a tabular, form all text entered. </p>
  
  <p>I'm using ASP.NET with VB.</p>
  
  <p>I've built a Gridview and I'm trying to use the AjaxToolkit HtmlEditorExtender to convert the HTML into readable text, but I'm still seeing the HTML tags when I Debug the page. See code below.</p>
  
  <pre><code>    &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
           DataKeyNames="id" DataSourceID="SQL_Comments"&gt;
          &lt;Columns&gt;
              &lt;asp:BoundField DataField="Group" HeaderText="Group" 
                  SortExpression="Report_Group" /&gt;
              &lt;asp:BoundField DataField="Period" HeaderText="Period" ReadOnly="True" 
                  SortExpression="Period" /&gt;
              &lt;asp:TemplateField HeaderText="comment" SortExpression="comment"&gt;
                  &lt;ItemTemplate&gt;
                      &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Bind("comment") %&gt;'&gt;&lt;/asp:Label&gt;
                  &lt;/ItemTemplate&gt;
                  &lt;EditItemTemplate&gt;
                      &lt;asp:TextBox ID="TextBox1" runat="server" Text='&lt;%# Bind("comment") %&gt;' &gt;&lt;/asp:TextBox&gt;
                      &lt;ajaxToolkit:HtmlEditorExtender ID="_Comment_HtmlEditorExtender" runat="server" TargetControlID="TextBox1"&gt;
                      &lt;/ajaxToolkit:HtmlEditorExtender&gt;
                  &lt;/EditItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
          &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Any help/ideas on how to get this sorted will be much appreciated</p>
  
  <p>Thanks</p>