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
We upgraded to 10.2 this morning and I was able to recreate the issue using your test project. I simply changed the first column to be a checkbox. I've reattached the zip file with my changes.
Here are the steps to recreate.
1. Open the project and click on the second tab. Click on the check header once.
2. Go back to tab 1.
3. Go to tab 2, and at this point the "afterheadercheckstatechanged" event fires.
Here is some additional info I have found while debugging today.
1. The call stack is in the "Afterheadercheckstatechanged" when it is being fired, nothing within my code is calling it.
2. It does not happen if the datatable is empty.
3. It does not happen if I comment out this line in the initilize layout function (which doesn't do me any good because I need it to be a checkbox).
"Selected").Header.CheckBoxVisibility =Infragistics.Win.UltraWinGrid.HeaderCheckBoxVisibility.WhenUsingCheckEditor
4. I have not found a way around it yet by using any of the tab change events.
Any ideas??? I am working with a deadline so your prompt reply is appreciated.
Hi Michael,
Thanks for putting this test project together. It is very similar from a coding prospective with a few main differences.
We are using version 9.2 of the Infragistic controls, version 10 of Visual Studio (using 3.5 framework). Is this possible a controls issue 9.2 vs 10.2?
Thanks again!
I'm sorry I am doing this again because apparently the attachment did not make it to the forum thread.
Let me know how you make out.
Michael S.
Let me know if you have further questions.