I have two instances of WebHtmlEditor as TemplateFields in an ASP:GridView control and the other in an ASP:DetailsView. In the DetailsView everything works fine, but in the GridView my datat is displayed and I can edit it, but when I click Update on the GridView Row the edits are lost.
The html looks like this:
<asp:TemplateField HeaderText="CustOrderTextBlock" SortExpression="CustOrderTextBlock">
<EditItemTemplate>
Text='<%# Bind("CustOrderTextBlock") %>'
ImageDirectory="../ig_common/images/htmleditor/">
</ighedit:WebHtmlEditor>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("CustOrderTextBlock") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
Any ideas?
John
Found the problem. Not a control issue but a rather a difference between field names in the SQL and the Bind statement.