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!
Hai Brian,
Thanks for reply. I found where this problem araised and i solved that today. When i invisible the filter row, the grid active row will be that filter row only. So after the invisible of filter row, when i scroll the mouse, the control try to fire the exiteditmode event of the filtercell and the error occurs. So i make the row below the filter row as active row and make the filter row as invisible. Now i dont get the problem? Thanks for your information.