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
262
DisplayLayout.LoadFromXml does not work with this.DisplayLayout.Bands[0].Columns[columnName].EditorControl
posted

 

Hei i have a text editor defined as following

textEditor = new UltraTextEditor();
chkBtn = new EditorButton();
textEditor.ButtonsRight.Add(chkBtn);
textEditor.EditorButtonClick += new EditorButtonEventHandler(chkBtn_click);

I set the control to a column

this.DisplayLayout.Bands[0].Columns[columnName].CellMultiLine= Infragistics.Win.DefaultableBoolean.True;
this.DisplayLayout.Bands[0].Columns[columnName].EditorControl= textEditor;
this.DisplayLayout.Bands[0].Columns[columnName].EditorControl.Enabled = true;

I want the editor button to do some work on click, the code works fine.

but I loose my editor :(  ,  when i use same code with  LoadFromXml

Am i doing something wrong ?

 

 

 

 

 

 

 

 

Parents Reply Children
No Data