Migrating the PanelBar Extension

To migrate the Telerik UI PanelBar Extension for ASP.NET MVC to Telerik UI for ASP.NET MVC, use the available and updated API.

  • The following example demonstrates the change when setting the animations.

    
        Html.Telerik().PanelBar().Name("SamplePanelBar").Effects(effects => effects.Slide())
    
    
        Html.Kendo().PanelBar().Name("SamplePanelBar").Animation(animation => animation.Open(open => open.FadeIn(FadeDirection.Down))
    
  • Telerik UI for ASP.NET MVC does not support action syntax, that is, “() => {}”. The helpers do not feature the OnLoad event anymore and require you to use $(document).ready() instead.


    Html.Telerik().PanelBar().Name("SamplePanelBar").ClientEvents(events => events.OnChange(“change”))

    Html.Kendo().PanelBar().Name("SamplePanelBar").Events(events => events.Change(“change”))

See Also

In this article
Not finding the help you need? Improve this article