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
490
xamwebgrid event ->CellExitingEditMode is executed twice
posted

Hi,

In event CellExitingEditMode,I check for a condition,popa message  and execute e.cancel=true.

After executing successfully,The CellExitingEditMode is executed again.

This time e.cancel is false and CellExitingEditMode is also false and the same function is executed again.

Any inputs on why the behaving this way and any temporary solution for this?

 

Thanks 

  • 40030
    Offline posted

    Hi, 

    This is a bug, which occurs only if you cancel and then click on the xamWebGrid. 

    Until the next SR, you can use the cell's Tag property, to set a flag to see if you've already notified the user. 

    Then in the CellExitedEvent, you can reset the flag. 

    Hope this helps, 

    -SteveZ