This example shows how to configure Telerik PanelBar for ASP.NET MVC to animate the content of its items. The supported animations are opacity and expand.
<%= Html.Telerik().PanelBar()
.Name("PanelBar")
.Effects(fx => fx.Expand(properties => properties
.OpenDuration(200)
.CloseDuration(300))
.Opacity(properties => properties
.OpenDuration(200)
.CloseDuration(300))
)
.Items(items => { /*items definition*/ })
%>
Use the configurator to experiment with the animation settings.