Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > PanelBar > PanelBar but does not expand the child

Not answered PanelBar but does not expand the child

Feed from this thread
  • Hernando avatar

    Posted on Feb 20, 2012 (permalink)

    good day!
    I have a PanelBar but does not expand the child, I wonder why is not working, thanks.

    <%= Html.Telerik().PanelBar()
                 .Name("menuGeneral")
                 .ExpandMode((PanelBarExpandMode)Enum.Parse(typeof(PanelBarExpandMode), PanelBarExpandMode.Single.ToString()))
                 .BindTo((IEnumerable<Nomina.Models.menuAplicacion>)ViewData["menu"], mappings =>
                 {
     
                     mappings.For<Nomina.Models.menuAplicacion>(binding => binding
                       .ItemDataBound((item, itm) =>
                       {
                           item.Text = itm.descripcion;
                           item.ImageUrl = Url.Content(itm.icono);
                           item.ImageHtmlAttributes.Add("style", "margin-right: 10px");
                       })
     
                        .Children(itm => Nomina.Models.itemsAplicacion.listaItems(itm.idmenu)));
                           mappings.For<Nomina.Models.itemsAplicacion>(binding => binding
                               .ItemDataBound((item, product) =>
                            { item.Text = product.descripcion; }));
     
     
                 })
    %>
    Attached files

    Reply

  • Sri avatar

    Posted on Apr 16, 2012 (permalink)

    Is there any solution for this? It doesn't work in MVC!!!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > PanelBar > PanelBar but does not expand the child
Related resources for "PanelBar but does not expand the child"

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