This example illustrates how to use the ASPxHtmlEditor control in the ASPxGridView EditForm for editing text column data.
The ASPxHtmlEditor is defined within the ASPxGridView EditFormTemplate and bound with the "DescriptionHtml" column via the binding expression (the "Eval" method).
When using the "Eval" expression, it is necessary to capture the modified value/property and post it back to a datasource manually. See the Default.aspx.cs/Default.aspx.vb code behind source.
If you need to achieve the automatic Two-Way data binding functionality, use the "Bind" method instead of the "Eval" one.
In this case, the server-side code for retrieving the editor value (the ASPxHtmlEditor.Html property) and putting it into the e.NewValues dictionary is no longer required (except of cases described in the K18564: How to resolve issues with binding expressions #1 KB Article).
In addition, take a look at the online Two-Way Binding demo. It illustrates how to use different kinds of editors in a similar scenario.
Question Comments
Added By: zia jadoon at: 4/12/2016 4:47:26 AM Code .aspx and .cs files are missing at this https://www.devexpress.com/Support/Center/CodeCentral/ViewExample.aspx?exampleId=E296 Link.