TreeView as Left Navigation Menu without +/- images

4 posts, 0 answers
  1. pankaj
    pankaj avatar
    12 posts
    Member since:
    Oct 2008

    Posted 11 Nov 2008 Link to this post

    Hi,
    I want to use radtreeview as left navigation menu in my project. For this purpose we do not want to use +/- buttons to expand or contract a node. Instead of this we want to expand the menu on click of node itself. Is there any similler example?

    Kindly suggest how it can be achieved.

    Thanks,
    Pankaj
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 11 Nov 2008 Link to this post

    Hello pankaj,

    Please check this help article: Expanding Nodes on a Single Click

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. pankaj
    pankaj avatar
    12 posts
    Member since:
    Oct 2008

    Posted 11 Nov 2008 Link to this post

    Hello Veselin,

    Thanks, it helps me a lot. Just a quick question...how can I remove +/- sign and line images (connectiong the nodes) completly. We just want to display the nodes without any other images.

    Thanks,
    Pankaj
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 11 Nov 2008 Link to this post

    Hello pankaj,

    Set the ShowLineImages property to False and add these CSS rules to the <head> section of your page:

    <style type="text/css"
    div.RadTreeView_SkyBlue .rtMinus { 
      background : none
     
    div.RadTreeView_SkyBlue .rtPlus { 
      background : none
    </style> 

    Just replace the SkyBlue with the name of your skin.

    All the best,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top