EXCEPTION:
at Infragistics.Win.UltraWinExplorerBar.StyleUtils.GetResolutionOrder(UltraExplorerBar explorerBar) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupSettingsResolved.get_HeaderButtonStyle() at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.get_ButtonStyle() at Infragistics.Win.ButtonUIElementBase.get_IsButtonStyleMouseActive() at Infragistics.Win.ButtonUIElementBase.OnMouseLeave() at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnMouseLeave() at Infragistics.Win.ControlUIElementBase.ElementEntered(UIElement element, Boolean triggerMouseLeavesOnly) at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType, Boolean ignoreLastElementEntered) at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType) at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly) at Infragistics.Win.ControlUIElementBase.SyncMouseEntered() at Infragistics.Win.ControlUIElementBase.VerifyIfElementsChanged(Boolean verify, Boolean syncMouseEntered) at Infragistics.Win.ControlUIElementBase.VerifyIfElementsChanged(Boolean verify) at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize) at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode) at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnPaintHelper(PaintEventArgs pe) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnPaint(PaintEventArgs pe) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.SafeNativeMethods.UpdateWindow(HandleRef hWnd) at System.Windows.Forms.Control.Update() at Infragistics.Win.UIElement.Invalidate(Boolean update) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.AnimateGroupSelection(UltraExplorerBarGroup newSelectedGroup) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_SelectedGroup(UltraExplorerBarGroup value) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.InternalEnsureGroupInView(Boolean explorerBarStyleOnly) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.EnsureGroupInView()
When i mouse over the group tabs in the explorer bar i get a null reference exception. Please help me solve this.
I would assume that you are not doing anything in the MouseEnterElement event. If so, the issue may be a bug or due to some custom theme. Could you answer the following questions?
What version and build of our controls are you using, ie. 8.1.20081.1000? Are you using custom themes on your machine? If you are using custom themes, can you still reproduce the behavior if you go back to standard OS themes?
There is no MouseEnterElement event. Version of the control is 6.2.20062.34. Also we dotn use any custom themes.
Thanks for your immediate response. Is there any workaround to hide this behavior atleast?
I tested in that build with a simple sample and did not have any issues on an XP machine using standard themes.
If the issue readily occurs, as in everytime you hover your mouse over the problem area, I would try with the latest hotfix of 6.2. There were some issues around the build with the header when using custom incomplete themes or when groups were removed when clicking on these regions. If that does not resolve your issue, you may have to log an incident with our support.
You can download the latest hotfix for 6.2 by going to our main website and navigating to View My -> Keys & Downloads. Then click on the NetAdvantage tab, click on 6.2 then go to the hotfixes groupbox that opens up below the grid of keys.
You can log a support request by going to our main website and navigating to Get Help -> Ask for Help.
It doesnt happen all the time. It happens when i hover the mouse over the group when the explorer is still loading. The work around that will help is, if i can change the cursor to wait cursor when the explorer is still loading. But the group region cursor always changes when i add the group, even though the cursor of the explorer bar is set to wait cursor. Any inputs?
I will try the hot fix anyways. Thanks for your response.
The issue seems isolated to applying layout to Explorer bar. If i dont apply the already saved layout everything seems fine. But if i load the layout, i get the above exception. Please help me out.
What exactly do you mean by the layout? Are you referring to the serialization we offer for our ExplorerBar? If so, are you using the methods at run time or are you applying it at design time? If you are indeed using these generated files, it could be due to the file being generated with an older version of NetAdvantage or the file could be corrupt. Did the hotfix resolve your issue or did it have no effect? If the hotfix did not resolve your issue, it is most likely due to the file you are using to load and save the layout. You could check with the latest volume release of NetAdvantage to ensure that it is not an issue that is already fixed.
I do not know if the issue has been resolved but it most likely has. If you still experience this problem, then I would recommend you log a support case so that we can look into it for you.
We are having the exact same problem with the exact same version has this been fixed in a new version? If not is there a way around this error?
I tested the ExplorerBar by loading a binary file that contained 100 groups with 100 items each. I did not have any issues while my mouse was hovering over any of headers. I would log an issue with support if you have not done so already. It may help if you can provide your layout file for them to test with. You can log a support issue by going to the following link:
http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx
I meant the serialization. I save and load at runtime. When i load the file saved, i get this issue. This happens only when the user moves the mouse over or clicks on the groups when the control is still loading. After the everything is loaded, i see no issues. So i guess the file has no issues.