PanelBar Split Header?

2 posts, 0 answers
  1. Kristian
    Kristian avatar
    1 posts
    Member since:
    Jul 2010

    Posted 07 Jul 2010 Link to this post

    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
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 08 Jul 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top