Edit this page

PanelBar Migration

This article demonstrates the ASP.NET MVC server-side API for the Kendo UI PanelBar widget.

Server-Side API

Animations


    Html.Telerik().PanelBar().Name("SamplePanelBar").Effects(effects => effects.Slide())

    Html.Kendo().PanelBar().Name("SamplePanelBar").Animation(animation => animation.Open(open => open.FadeIn(FadeDirection.Down))

Client-Side API

Events

Kendo UI Complete for ASP.NET MVC does not support action syntax—that is, “() => {}”.

None of the widgets features the OnLoad event anymore. Use the $(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

To see the articles on migrating Kendo UI controls from Telerik Extensions, browse the Widgets folder.