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
1310
BeforeExitEditMode interferes with form events.
posted

I am coding with .NET and NetAdvantage for Windows Forms 2008.  I have an UltraGrid and some buttons on my form.  When I use the BeforeExitEditMode event to test for data validation I have to click the form button twice to get it the button event to fire.  When I comment out the BeforeExitEditMode the form events work just fine.  Is this a monster that I have created or is it an issue with UltraGrid?

 

Parents
  • 469350
    Offline posted

    It sounds to me like you must be doing something in BeforeExitEditMode like setting e.Cancel to true and thus preventing the grid from losing focus the first time it tries.

    What exactly is your code in the BeforeExitEditMode event doing? 

Reply Children