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

PanelBar-Like Behavior

3 Answers 41 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 2
Iron
Brian asked on 04 Mar 2014, 08:05 PM
Hi,

Is it possible to achieve a PanelBar-like behavior with Menu?  I'm trying to use PanelBar, but horizontally, where the panes expand left and right.  If this is not an option, would it perhaps be possible to use a Splitter to emulate an accordion feel?

Thanks for the help!

Regards,
Brian Chambers

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Mar 2014, 04:50 AM
Hi Brain,

Please try the following code snippet to display RadMenu like PanelBar.

ASPX;
<telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical">
    <Items>
        <telerik:RadMenuItem Text="Item1" GroupSettings-ExpandDirection="Down">
            <Items>
                <telerik:RadMenuItem Text="Item1.1">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Item1.2">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Item2" GroupSettings-ExpandDirection="Down">
            <Items>
                <telerik:RadMenuItem Text="Item2.1">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Item2.2">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

Let me know if you have any concern.
Thanks,
Shinu.
0
Brian
Top achievements
Rank 2
Iron
answered on 05 Mar 2014, 02:25 PM
Hi Shinu,

Thanks for the siuppet!  I'm more looking for an accordion-style PanelBar, only horizontal.  Here's an example site that uses something similar:

http://sydney.edu.au/

The control they're using is in yellow near the top.  I'm not sure if Telerik supports this feature, but I thought I'd ask!

Thanks,
Brian Chambers
0
Kate
Telerik team
answered on 06 Mar 2014, 09:59 AM
Hello Brian,

You can try using the following demo of the RadSplitter control and implement the desired functionality - http://demos.telerik.com/aspnet-ajax/splitter/examples/collapseexpand/defaultcs.aspx

Regards,
Kate
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
Menu
Asked by
Brian
Top achievements
Rank 2
Iron
Answers by
Shinu
Top achievements
Rank 2
Brian
Top achievements
Rank 2
Iron
Kate
Telerik team
Share this question
or