Panel Bar Item Header

2 posts, 0 answers
  1. Puneet Sharma
    Puneet Sharma avatar
    1 posts
    Member since:
    Feb 2006

    Posted 28 Oct 2009 Link to this post

    hi,
    is it possible to set panel bar items with images only?

    thanks
    puneet

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Oct 2009 Link to this post

    Hello Puneet,

    Yes it is possible by setting the ImageUrl properties of the PanelBarItems as shown below:
    aspx:
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server"
        <Items > 
            <telerik:RadPanelItem Text=" " ImageUrl="Images/RootImage1.gif"
                <Items> 
                    <telerik:RadPanelItem Text=" " ImageUrl="Images/ChildImage1.gif"
                    </telerik:RadPanelItem> 
                    <telerik:RadPanelItem Text=" " ImageUrl="Images/ChildImage2.gif"
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelItem> 
            <telerik:RadPanelItem Text=" " ImageUrl="Images/RootImage2.gif"
                <Items> 
                    <telerik:RadPanelItem Text=" " ImageUrl="Images/ChildImage3.gif"
                    </telerik:RadPanelItem>  
                </Items> 
            </telerik:RadPanelItem> 
            <telerik:RadPanelItem Text=" " ImageUrl="Images/RootImage3.gif">            
            </telerik:RadPanelItem> 
        </Items> 
    </telerik:RadPanelBar> 

    You can also refer to the following help document:
    Use images to set the appearance of the panelbar

    Thanks
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top