Edit this page

Menu Migration

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

Server-Side API

Animations


    Html.Telerik().Menu().Name("SampleMenu")
        .Effects(effects => effects.Slide())
    Html.Kendo().Menu().Name("SampleMenu")
        .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().Menu().Name("Menu")
        .ClientEvents(events => events
            .OnChange(“change”)
        )
    Html.Kendo().Menu().Name("Menu")
        .Events(events => events
            .Change(“change”)
        )

See Also

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