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
775
BeforeExitEditMode and UltraContainerControl
posted

Hi,

I used my own UserControl (Editing and Rendering) in UltraContainerControl. This UserControl contains 1 UltraLabel, 1 UltraTextEditor.

I would like do some validation in my UltraTextEditor when press tab, enter, mouse click to prevent user from leaving the cell.

I use BeforeExitEditMode on my UltraTextEditor, but when I click with mouse on other row, new row is selected but the UltraTextEditor is already in edit mode.

How can I used correctly this behaviour with UltraControlContainer and BeforeExitEditMode ?

 

Thanks a lot.

Parents
  • 469350
    Offline posted

    Hi,

    I think this kind of validation will be very complicated and difficult. I'm not sure that this is possible.

    What I would do is use the BeforeExitEditMode event of the grid, instead.

Reply Children