|
Rank: Advanced Member Groups: Member
Joined: 6/6/2007 Posts: 37
|
good afternoon,
I have a toolbar, <eo:ToolBarItem CommandName="Zien" ImageUrl="~/Images/icon_view.GIF" Text="Mutatie zien" ToolTip="Mutatie inzien" Disabled="True"> <DisabledStyle CssText="VISIBILITY: hidden" /> </eo:ToolBarItem> this works fine but: depending to the user I want to change the visibility in the ....vb I use the next code ToolBar1.Items(0).Disabled = False ToolBar1.Items(0).DisabledStyle.CssText = "VISIBILITY: visible"
the Image is visible but the text is not visible what to do to get the text visible? thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can not show/hide toolbar item that way. Currently the only clean way to hide a toolbar is to remove it from the toolbar. Otherwise the toolbar item can be disabled, but will still be visible.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/6/2007 Posts: 37
|
that's a pity, something for a next build?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
It can certainly be on our list. I do not believe it will make into next build though.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/6/2007 Posts: 37
|
another thing I noticed is: when I set the width of the toolbox to 100% the format doesn't change, when I change it in 101% I get a nice toolbar over the full width of my page.
|
|