I am evaluating RadGridview. I need to create lots of custom editors for my upcoming project. To begin with, I just created a simple texteditor with the following code (I referred you demo code for this) .The issue is, the control losing the first key stroke. Suppose I start to edit a column by typing "John" then the column only showing "ohn".
Did I miss something ??
class MyTextEditor : BaseGridEditor { public RadFormProductList ListForm { get; set; } protected override RadElement CreateEditorElement() { var editor = new MyTextEditorElement(); return editor; } public override object Value { get { MyTextEditorElement editor = (MyTextEditorElement)this.EditorElement; return editor.Text; } set { MyTextEditorElement editor = (MyTextEditorElement)this.EditorElement; if (value != null && value != DBNull.Value) { editor.Text = value.ToString(); } else { editor.Text = ""; } } } } public class MyTextEditorElement : RadTextBoxElement { public MyTextEditorElement() { this.BackColor = Color.White; this.ShowBorder = false; } protected override Type ThemeEffectiveType { get { return typeof(RadTextBoxEditorElement); } } }