Welcome Guest Search | Active Topics | Sign In | Register

toolbaritem csstext visibility Options
Ria
Posted: Monday, March 2, 2009 7:53:35 AM
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
eo_support
Posted: Monday, March 2, 2009 8:24:46 AM
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!
Ria
Posted: Monday, March 2, 2009 8:38:01 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 37
that's a pity, something for a next build?
eo_support
Posted: Monday, March 2, 2009 8:40:45 AM
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!
Ria
Posted: Tuesday, March 3, 2009 4:08:22 AM
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.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.