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
1105
How can I turn off the beforerowupdate event
posted

Hi,

how can I turn off the beforerowupdate event when a grid is in a MDITab Control and the tab is changed. There is a beforetabactivated event in the winMDIManager but not deactivated event.

 The problem I am having is that when a user is entering data in a grid and changes the tabs the beforeupdaterow is fired. (and I do not want this).

Is there a way to do this.

regards

Stefan

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Stefan,

    The row is probabl updating because the grid is losing focus. Do you really just want to stop the event from firing? Or do you want to actually stop the row from updating? 

    My guess is that you want to stop the row from updating, so you would probably need to set the UpdateMode on the grid to a setting like OnRowChange (as opposed to OnRowChangeOrLostFocus). 

Reply Children
No Data