Hello:
I have a few questions but here is the setup:
I have a UltraToolbarMananger with 10 toolbars. The toolbars that load depend on rights and what modules the customer has (I am controlling through database with true/false). The toolbars load based on how the customer has set them up. The issues I am running into are:
1) How can I force the toolbars to always show everything they have? What is happening is the toolbars load and shorten themselves up. I want it so that if the toolbar does not fit it automatically goes to the next row.
2) When I first setup the toolbar I had it using app styling. I turned that off..and turned it back on but now it won't take the styles. It just displays as 'standard'.
Thanks.
Hello,
Currently the WinToolbarsManager does not have that functionality. However, you can go to the following web-site and submit a feature request.
http://devcenter.infragistics.com/Protected/RequestFeature.aspx
Thanks Dave.
For my first question, I want to make sure they can't have any toolbars that are hiding buttons, IE they should always be expanded...if they try to add a toolbar that squeezes them , i want to not allow this.
I think I will have to do it with an event, question now is there a property that i can check to see if the toolbar is fully expanded?
Here's a link to our online documentation that describes the UltraToolbar.DockedColumn property. Basically, the first toolbar in a row is at column 0, the second is at column 1, etc.
I'm not sure about your first question, but I will look into it and make another post when I have more information.
I think that I have the answer for #3..when showing the toolbar I am setting the docked column to 99 if I want it to be the right most toolbar. Is this what the columns are for? I don't see in the desinger a way to setup a 'grid' beforehand?
I have managed to fix #2, I had to manually add utbMain.UseAppStyling = true to the designer. It does not seem to be working from the properties in the UI for some reason.
I do have a question 3:
How can I control where the toolbar is in relation to other toolbars when adding it to a row? When I set a toolbar to row 0 let's say, it puts it in front of all the other toolbars(to the left), I want it to be the right. Is there a way to justify only certain toolbars in the manager to the right?