Animation for MVC wrapper for KendoUI Menu

3 posts, 1 answers
  1. Sam
    Sam avatar
    22 posts
    Member since:
    May 2012

    Posted 28 Jul 2012 Link to this post

    good morning everyone,

    i am currently trying to setup a menu using the MVC wrapper for KendoUI menu and having some difficulty trying to setup the Animation part.

    The animation method is overloaded.  I know one of them i pass in a boolean but the other one, not sure how to use that one.  Right now, I have:

                    .Animation(true) ) 

    But i want to be able to customize the setup of the animation of the menu like how the regular KendoUI Menu can, using the 2nd overloaded Animation method:

    var $mainMenu = $('#mainMenu');

                        effects: "fadeIn slideIn:down"

    There isn't any documentation or example of how to use the 2nd overloaded Animation method of the KendoUI MVC wrapper.  I am currently using the latest trial version of the Kendo UI Complete for ASP.NET MVC.

    Thank you very much for you help.

  2. Answer
    Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 01 Aug 2012 Link to this post

    Hello Sam,

    Basically to use the advanced overload of the Animation options you need to use lambda expressions and the so called fluent configuration. Such syntax is used in most of our demos.
    Here is an example:

    I hope this helps.

    Kind regards,
    Petur Subev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Sam
    Sam avatar
    22 posts
    Member since:
    May 2012

    Posted 01 Aug 2012 Link to this post

    yup, thank you very much Petur.

    have a great day
Back to Top