Hello,
I'm experiencing a weird behaviour in my ribbon-based application (see screenshot double ribbon.png).
What can be the cause of this ribbon being shown twice on my form ? I have only 1 UltraToolbarsManager component in the component area.
I'm working with Vista, VisualStudio 2008 professional, Infragistics NetAdvantage 7.3
Thanks,
Yves
I was able to solve the problem by making a backup of the UltraToolbarsManager component to another form. Then saving a layout file (of all buttons). Then cleaning up (deleting) all UltraToolbarsMaanger related stuff, including DockAreas in InitializeComponent sub. Then creating a new UltraToolbar and import the saved toolset.
So i just began from scratch it seems > but i could load the toolset from a file, and thus not losing any work.
Regards,
I am also experiencing this same problem, the double bar just appeared as I was trying to edit an item in the ribbon menu and has stayed ever since! The double ribbon only appears in the designer, at run time there is only one ribbon, so I guess it's something being cached by the infragistics component at design time that is being corrupted. I don't particularly want to re-create the form as described above if I can help it, so does anyone have any ideas how to fix this issue?
I am using VS2008 on an XP machine with Infragistics v7.3.
Thanks.
Brian
I'm using 8.2 and experiencing the exact same behaviour!
It is very frustrating. If you fix it by deleting the toolbar and then re-adding all controls etc the problem eventually re-occurs.
I am using VS2008 SP1 and Infragistics 8.2
How can I export the current tools/layouts etc from the designer? Or can I only do this during Runtime?
RegardsAaron
You can right-click the toolbars manager and there is an "Load/Save Configuration" item where you can load or save a layout file.
Also, if you can think of any specific steps which made the double ribbon occur, I would recommend submitting them to the support group so this issue can be investigated: http://es.infragistics.com/gethelp.
And before you recreate your entire manager, check the designer code and see if there are two sets of dock areas. There should only be four members of type UltraToolbarsDockArea for each toolbars manager. If there is an extra set, save a copy of your form and try to edit the designer code to remove the extra dock areas.
You were right, there were two sets of dock areas in the designer, one for the form's toolbar manager AND one for the main form's toolbar manager (at least the member variables were named after the main forms toolbar manager)!!!!
I commented out all references to the variables with the main form's toolbar manager name and it cured the problem.
I still don't know how this happened, but at least I can fix the problem if it happens again now that I know what's causing it. :)
Has this been fixed? I don't get it in design view but when I actually run I see a duplicate toolbar. Any help would be great.
I am running 8.2 w/ VS2005
Ian
I don't recall this issue being reported with reproducible steps. I have forwarded this issue to the DS Manager. Someone from Developer Support will contact you to assist you with this problem.
Having the same issue with UltraToolBar. Can replicate the issue from new project.
Insert UltraToolbarsManager into Form. All looks normal. Run debug. Double up on ribbon (see below).
After stopping project and going back to Visual Studio, now have multiple ribbons(2nd pic).
Running VS2010 Beta 2 under Windows 7 with Aero Enabled (Am yet to try with Aero disabled)