Hello,
We are using UltraWinExplorerBar.UltraExplorerBar. And we have to hide the customize button at the bottom of explorer. We have used the below code to hide the customize button.
UltraExplorerBar1.NavigationOverflowButtonAreaVisible = False
Now when we click on the some areas at the bottom of explorer its giving the following exception.
ActiveGroup cannot be set - specified Group cannot be activated! (Group may be disabled or its header may not be visible)
System.ArgumentException was unhandled Message="ActiveGroup cannot be set - specified Group cannot be activated! (Group may be disabled or its header may not be visible)" Source="Infragistics2.Win.UltraWinExplorerBar.v10.3" StackTrace: at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_ActiveGroup(UltraExplorerBarGroup value) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement) at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e) at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) at Infragistics.Win.UltraControlBase.OnMouseDown(MouseEventArgs e) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(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.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at UltraExplorerBarError.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
We tried various events to handle the exception, but could not trace any event to handle the exception.
Please suggest a solution to handle this exception.
I seem to be having the same problem. I have a transaction (our lingo, sorry) and when I go to open another I get this error.
System.ArgumentException: ActiveGroup cannot be set - specified Group cannot be activated! (Group may be disabled or its header may not be visible) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_ActiveGroup(UltraExplorerBarGroup value) at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.set_Active(Boolean value) at AptitudeSolutions.OnCore.Windows.Controls.Workflow.WorkflowControl.SetCurrentActivityGroupView(IActivityGroupControlView activityGroupView) in C:\_Source\OnCore Acclaim\Aptitude Solutions\OnCore\Windows\Controls\Workflow\WorkflowControl.cs:line 141 . . . more
This happens with this code.
var group = _ultraExplorerBar.Groups[activityGroupView.GroupName]; try { // (group.Active = true) will fire the Infragistics GroupChanged event. // In this case, we want to disable this event until we have completed all of // the UI setup, after which we will fire it manually. _activeGroupChangedEventIsEnabled = false; if (group.Visible) { group.Active = true; // <<<< HERE group.Selected = true; groupChanged = true; } } finally { // Ensure we are re-enabling the GroupChanged event. _activeGroupChangedEventIsEnabled = true; }
We are using Version=9.2.20092.2083
We updated Infragistics to version 10.3.20103.2145 today and it fixed the exception.
Thank you Matthew Kraft.
Were you able to get the service release and verify the results with the new builds?
You were using build 1000 and that reproduces the behavior but 2145 (the latest public service release) does not reproduce the behavior, so snag the latest Service Release.
Go to https://es.infragistics.com/my-account/keys-and-downloads/ and choose your 10.3 key and go to the Service Releases tab and update your dlls for the project.
Here is the link for the sample application to replicate the issue.
https://www.box.com/s/0dobm9xmxyic1yuir08g