Welcome Guest Search | Active Topics | Sign In | Register

Set TopGroup menu entry active Options
Johan
Posted: Friday, December 7, 2007 4:16:32 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2007
Posts: 8
Hi,
Is it possible to highlight a menu entry of the TopGroup if the corresponding page or a child page is selected? I just want to show the user in which branch of the tree he is.

I tried already to set the "clicked" item to selected but that shows the "selectedStyle" only for a short time and goes back to the “_default" style. Furthermore I have read that I have to set the “selected” state back if I set it by hand (because multiple selections are possible) and that’s not what I want.

Thanks in advanced.
Johan
eo_support
Posted: Friday, December 7, 2007 6:52:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,098
Hi Johan,

The easiest way for you is to set SelectedStyle and then let the menu to atuomatically select the corresponding item for you. In order for the menu to automatically select the item, take a look of this property:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.AutoSelectSource.html

You probably want to use the "NavigateUrl" option.

Thanks
Johan
Posted: Friday, December 7, 2007 9:47:05 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2007
Posts: 8
Perfect! That's the functionality I was looking for. Thanks


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.