Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > PanelBar > same action for 2 items

Not answered same action for 2 items

Feed from this thread
  • Nebras avatar

    Posted on Dec 4, 2011 (permalink)

    Hello,Telerik Team

    I have a PanelBar as follows :
    @(Html.Telerik().PanelBar()
    .Name("PanelToolbar")
    .ExpandMode(PanelBarExpandMode.Single)
    .HtmlAttributes(new { style = "width: 200px; align:center; color:red;" })
    .SelectedIndex(0)
    .Items(item =>
    {
        item.Add().Items(
            subitems =>
            {
                subitems.Add().Action("Index", "X");
                subitems.Add().Action("Index", "Y");
            });
     
        item.Add().Items(
            subitems =>
            {
                subitems.Add().Action("Index", "X");
                subitems.Add().Action("Index", "Z");
            }
            );
    })
    )

    when I select the "X" link at the  second item , the "X" link at the first item is selected 
    i want the pressed "X" to be the selected one , any solution ?

    Reply

  • Nebras avatar

    Posted on Dec 5, 2011 (permalink)

    any help?

    Reply

  • Nebras avatar

    Posted on Dec 11, 2011 (permalink)

    any help?

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > PanelBar > same action for 2 items
Related resources for "same action for 2 items"

ASP.NET MVC PanelBar Features  |  Documentation  |  Demos  |  Telerik TV ]