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
1210
How to fire editor comopnent's events?
posted

Hi Experts,
    I have one user control in which I have registered some events like KeyDown, OnLeave etc.
If I use my user control on normal win form then it is working fine ( events are firing properly) but if I use it in ultra grid as editor component then events which are registered in user control are not firings. Is there any way to fire those events?

Thanks & Regards,
Ganesh

Parents
  • 69832
    Offline posted

    The control's events are not supposed to fire for the editor provided to the grid, because the control is not being manipulated by the user, the cell is. I can't think of a reason why you would want the control's events to fire when the user is in edit mode on a cell in the grid, but it is possible that you just have to refactor the code in the control's event handlers such that you can execute the same code in response to cell events like CellChange and AfterExitEditMode.

Reply Children