Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
WebHtmlEditor is not updating my record.
posted

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>

<ighedit:WebHtmlEditor ID="CustOrderTextBlockWebHtmlEditor1" runat="server"

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