Hai,
I am using Infragistics 2007 vol 3. I am using a grid in my form. I have a button in the form to display the Row filtering in grid. First i click that button to show the row filter. Then i again click to make it invisible. After my filter row got invisible, if i scroll the mouse wheel , i got the following error (on scrolling mouse over the grid) :
at Infragistics.Win.EditorWithCombo.ProcessOnMouseWheel(MouseEventArgs e)
at Infragistics.Win.EditorWithCombo.OnOwningControlMouseWheel(Object sender, MouseEventArgs e)
at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGridBase.OnMouseWheel(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseWheel(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Somebody guide me why this error coming to me and what to do to avoid this error.
Thanks & Regards
Suresh Kumar. R
Assuming it was a NullReferenceException, there was a bug that was very recently fixed whereby an exception would be thrown if the editr was not accociated with a ValueList. You might want to report this and include a test project so Developer Support can determine whether this has already been addressed; if it hasn't, a separate incident would then be logged.
We are also getting this error in our application after doing some combination of actions and then doing a mouse scroll. It's a NullReferenceException alright but I'm pretty sure all the editors are associated with a ValueList. Any idea? Also, I'd like to try the fix that you mentioned, where can I get it?
Also, in case the released fix above didn't work, is there a way I can trap this error and not display it?
Thanks!
If you have the latest service release and this bug is still occurring, then you should create a small sample project demonstrating this and Submit an incident to Infragistics Developer Support so they can check it out.
No error is being trapped in grid's BeforeExitEditMode. I also tried trapping any error under AfterExitEditMode as well as MouseWheel event but to no avail. Moreover, I verified that the ValueLists are still existing under those methods/events.
Any ideas?
Check in the Grid's beforeexiteditmode event.