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
580
AfterHeaderCheckStateChanged
posted

We have an ultrawingrid that is on an ultratab.  The UWG is located on the second tab. The grid is loaded in the from load event.

The UWG's first column has a checkbox header.  We have a call which enables a save button in the AfterHeaderCheckStateChanged event. 

 

When we change the tab to the second tab the AfterHeaderCheckStateChanged event is being fired.

 

1.  Is there a better place to locate our save button call then in the AfterHeaderCheckStateChanged function?

 

2.  What event on the grid fires the AfterHeaderCheckStateChanged event after changing tabs?

 

Thanks!

 

Justin

Parents
  • 69832
    Offline posted

    You might want to put a breakpoint in the AfterHeaderCheckStateChanged handler to see what is triggering the firing. From what I remember, a change in value of any of the cells in that column could cause the header check state to change, and if that is what is happening, it is functioning correctly.

    If you are triggering the event, you could place the code that is causing that in a try/finally block, and set/clear a flag that signifies not to process anything in the AfterHeaderCheckStateChanged handler.

Reply Children