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

PanelBar Split Header?

1 Answer 67 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Kristian
Top achievements
Rank 1
Kristian asked on 07 Jul 2010, 06:43 PM
I'm new to the PanelBar and I am trying to create a vertical menu that only expands/contracts when I click on the image and not the rest of the panel header.  When I click on the rest of the panel header, I want to be able to use NavigateUrl property to assign a link to it.  Is that possible?

thanks,

kristian

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Jul 2010, 02:17 PM
Hello,


One suggestion for accomplishing this functionality is by using ItemTemplate and image control inside it. In the code behind iterate through the items and access the image control, attach 'onclick' event by passing panelitem text/value to event handler. Now in the event handler get the corresponding panelitem and expand it using client code. The follwoing documentation shows most important client methods and properties of a RadPanelBarItem.
Client-Side Basics
RadPanelItem object

Feel free to ask if you experience any problem in implementing this.

Thanks,
Princy.
Tags
PanelBar
Asked by
Kristian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or