This is a migrated thread and some comments may be shown as answers.

RadPanel as a menu

2 Answers 85 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
AbsolutelyN
Top achievements
Rank 1
AbsolutelyN asked on 22 Aug 2008, 08:52 AM
Hi

I want to use the RadPanelbar as a simple menu on a website. Each item on the panel represents a page on the site like this:

Homepage      >
    Page One
    Page Two
    Page Three
    Page Four     >
        Sub 1
    Page Five

What I want to happen is when you click the text 'homepage' it links to the url. And when you click the arrow for homepage it toggles the visibility of the sub items but not link through.

By default it seems to always link through and toggle no matter where you click on the item.

Thanks
Tristan

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 22 Aug 2008, 09:26 AM
Hello AbsolutelyN,

Please refer to our KB article (ID#814) Preserve the expand and collapse functionality of an item which has its NavigateUrl property set for details on how to achieve your goal.

Best wishes,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
AbsolutelyN
Top achievements
Rank 1
answered on 22 Aug 2008, 10:28 AM
Excellent, completely solved my problem. Many thanks, Tristan
Tags
PanelBar
Asked by
AbsolutelyN
Top achievements
Rank 1
Answers by
Paul
Telerik team
AbsolutelyN
Top achievements
Rank 1
Share this question
or