Hi,
I have a bound grid. Some columns are of type string. If I enter in such a cell a special character like & " < the Text property contains the string as displayed. However the Value property converts the special characters to & " and the like. Is there an easy way to omit this conversion? I want to have the value of the Value property to be the same as the entered string.
Thanks,
Bettina
Hi Boris,
Thanks for your reply. Here is a code snippet:
public static UltraFormattedTextEditor BuildTextEditor() { return new UltraFormattedTextEditor { ScrollBarDisplayStyle = ScrollBarDisplayStyle.Never }; }
this is used like this for every string column:
column.EditorComponent = this.TextEditor; column.UseEditorMaskSettings = true;
Hope this enables you to reproduce the problem
Thanks
Hello Bettina,
Do you have any editor set as an EditorComponent of the column? I tried this scenario and these characters show in the value as they are in the Text property. Could you please let me know of the WinGrid/Column settings or provide a sample project which reproduces this behavior, I will be happy to assist you further on that matter.