Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Can't activate a tool that does not belong to this UltraToolbarsManager.
posted

hi i am using ultratoolbarsmanager while i try to remove tab in ribbon its throwing one error as "Can't activate a tool that does not belong to this UltraToolbarsManager." i tried a lot please give me solution for this error thanks in advance 

my code to remove that tab is  -  utmMenu.Ribbon.Tabs.RemoveAt(10);

  • 160
    Offline posted
    Hello Rajendran,
    I have created a small sample trying to reproduce the described behavior. I am using Infragistics Windows Forms 2019 Vol. 1. On my side everything works and expected and I am able to remove the ribbon's tab without any exceptions.

    Attached you will find my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach in in this case.

    Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
    Thank you for your cooperation.
    Looking forward to hearing from you.
    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer