Hi, here is my code snippet when i used EditorControl
ultraGridCell.EditorControl = textEditor;
ultraGridCell.EditorControl.Name = propertyName;
and i am validating like this...
if (cell.EditorControl == null || !cell.EditorControl.Name.Equals(propertyName))
Now, i want to replace EditorControl with EditorComponent. How to implement the same functionality with EditorComponent.
Like I said, if you know it's always a Control, you can just cast it to Control.
Control editorControl = cell.EditorControl;
if (editorControl != null && editorControl.Name.Equals(propertyName))
By the way,
ultraGridCell.EditorControl = textEditor; //here textEditor is UltraTextEditor control.