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
100
How to get/set Checked value of StateEditorButton in UltraTextEditor
posted

hi.

i embedded ultratexteditor with stateEditorButton (ButtonLeft collection) to initializeRow event.

it's good working.

but i don't know how to get checked state value of cell.

below two codes is always return false value

  MessageBox.Show(((Infragistics.Win.UltraWinEditors.StateEditorButton)((UltraTextEditor)ultraGrid1.Rows[0].Cells["Fourth_Column"].EditorComponent).ButtonsLeft[0]).CheckState.ToString());


MessageBox.Show(((Infragistics.Win.UltraWinEditors.StateEditorButton)((UltraTextEditor)ultraGrid1.Rows[0].Cells["Fourth_Column"].EditorComponent).ButtonsLeft[0]).Checked.ToString());

i attached sample code project

please help me.

UltraGridTextEditorCellSample.zip

Parents
No Data
Reply
  • 2155
    Offline posted

    Hello Chang,

    Thank you for posting in our forum.

    I modified your sample so that "Fourth_Column" column uses EditorWithText instead of UltraTextEditor.

    You should be able to get the checked state of StateEditorButton on each row on the button click now.

    UltraGridTextEditorCellSample_mod.zip

Children
No Data