Adding a link button to a root panel item

2 posts, 0 answers
  1. richardFlow
    richardFlow avatar
    62 posts
    Member since:
    Jun 2012

    Posted 11 Jan 2010 Link to this post

    I'm trying to use a panel bar to create a similar menu to this:

    I've managed to create the basic functionality, but cannot add a 'clear' button to the root panel item whenever a selection is made. How would I go about doing this? I have included an example panel item below. In this example I would need to be able to add it in the cblStyle_IndexChanged code:

    <telerik:RadPanelItem Text="Style" Expanded="true">
        <asp:CheckBoxList ID="cblStyle" runat="server" AutoPostBack="true" OnSelectedIndexChanged="cblStyle_IndexChanged">

  2. Poul Henningsen
    Poul Henningsen avatar
    194 posts
    Member since:
    May 2006

    Posted 12 Jan 2010 Link to this post

    that's a bit tricky. you can check this demo - in general, the idea is to set absolute position to the templated element, i.e.

    /* styling and positioning of RadMenu template */ 
    div.RadPanelBar .rpItem 
    div.RadPanelBar .rpTemplate 
        z-index: 1; 
    div.RadPanelBar .rpSlide .rpTemplate 
        top: -24px
    div.RadMenu .rmRootGroup 
        border: 0; 
    div.RadMenu .rmItem 
    div.RadMenu .rootItem, 
    div.RadMenu .rootItem .rmText 
        backgroundnone !important; 
        border: 0; 
        padding: 0 !important; 
  3. DevCraft R3 2016 release webinar banner
Back to Top