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
40
AfterExitEditMode and CancelUpdate
posted

Hi,

I have a grid with a datetime column. The cells in this column can be used by a calendar control. Whenever the AfterExitEditMode events occurs for such a cell I save the value to the datebase.

But when the user changes the value and clicks directly to another control outside the grid, the value of the property is set to null. I think CancelUpdate will be called by the grid.


Is there a way to get the value in this situation? It doesnt changes anythink if a subscribe to the BeforeExitEditMode event instead.