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
460
Editor Control is showing weired result
posted

Hi

I am dynamically setting the column type as UltraTextEditor. But, the issue is i am not able to edit the Cell

(DisplayLayout.Bands[0].Columns[columnNameKey.Current.Key].EditorControl = new UltraTextEditor())  .....What could be the reason?

 

 

Parents
No Data
Reply
  • 45049
    Suggested Answer
    posted

    Make sure your editor control is part of your form's Controls collection.

    using Infragistics.Win.UltraWinEditors;
    ...
    UltraTextEditor ed = new UltraTextEditor();
    ed.Visible = false; // This prevents the control from showing except as an editor
    this.Controls.Add(ed);
    ultraGrid1.DisplayLayout.Bands[0].Columns["MyColumn"].EditorControl = ed;

Children
No Data