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
290
Keep focus on active cell after setting cancel in CellDataUpdating
posted

I have an UltraGrid that uses an UltraDataSource as the datasource.

I validate the users input in the CellDataUpdating event.

The scenario is when the user has entered an invalid value and then clicks on another row using the mouse.

The test runs fine and the error message is shown.

The problem is that the cell that the user has clicked becomes the active cell and not the cell the user added an invalid value to. 

How do I make this happen?