Try Now
More in this section


2 posts, 0 answered
  1. Scott
    Scott avatar
    2 posts
    09 Apr 2008
    14 Apr 2008
    Link to this post
    I have a SiteTreeView menu on the side of my page and I would like to highlight to the user which page in the tree they are currently looking at.  How do I go about doing that? 

    I'd like to make the current page appear in bold in the tree or perhaps make it a different CSS class so it stands out from the list of other pages.

  2. Sonya
    Sonya avatar
    231 posts
    24 Sep 2012
    18 Apr 2008
    Link to this post
    Hi Scott,

    The attached code provides a solution for your request. Note that you only have to change RadMenu to RadTreeView.

    For highlighting other navigational controls, see the subsection "Highlighting Selected Tabs and Menus" in the topic Working with Navigation Controls This topic is part of the Navigation section of the Developer Manual.

    Since the SiteTreeView wraps the RadTreeView control, settings to RadTreeView should take effect in SiteTreeView as well. You could actually access the to RadTreeView properties of the SiteTreeView by going to section Misc in the properties and clicking Edit for the TreeView property.

    Apart from the provided solution, you could also take a look at the following RadTreeView articles about your request:
    • http://www.telerik.com/community/forums/thread/b311D-gebkm.aspx
    • http://www.telerik.com/community/forums/thread/b311D-bcaka.aspx
    • http://www.telerik.com/community/forums/thread/b311D-mgccm.aspx
    • http://www.telerik.com/community/forums/thread/b311D-ttheb.aspx

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered