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.
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?
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?
Hello,
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.
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?
Hi,
I have created a support ticket for you with the following number: CAS-50030-FXX8H7.
Regards,
Stefaniya
Well, I don't want to have each single toolbar fill an entire row. There are 12 toolbars in the collection, each on showing a diff. cost/sell for a particular type of category in the app. The user can pick and choose which they want to see. I wanted to prevent them from squishing the toolbar.
As my colleague mentioned, if you want you can open a feature request for this or I can do it for you.
I can suggest you for each toolbar in the toolbarsManager to set toolbar.Settings.FillEntireRow to True, which will cause each toolbar to be on a separate line. Then if there will be hidden tools will depend on the size of the container.
Let me know your decision about the feature request.
Not really...though I suppose I will submit a feature request? Do the toolbars have a property that tell me if it is fully extended or not?
To be clear, my question I want to enforce that the toolbars are always maximized. If they are not, then I want them to go to the next toolbar row. I think that I can code this, just need that above mentioned property then I can handle the rest...
Has your question been answered?