What should be the argument for menu open method

2 posts, 0 answers
  1. gopi
    gopi avatar
    1 posts
    Member since:
    Aug 2012

    Posted 19 Oct 2012 Link to this post


    I am new to kendo, I am using kendo menu component, the data for menu comes on a ajax call. I want to open menu at runtime on some user interaction other than clicking menu, I found open method in API, but what value should I pass as argument. If I need to pass Id of an element how can I get Id of elements that were created at run time with ajax call.

    It's very urgent for me, please can any give solution?

  2. nikobellic
    nikobellic avatar
    46 posts
    Member since:
    Feb 2013

    Posted 15 Oct 2013 Link to this post

    You dont need to pass an id necessarily. Just a selector.
    So one way to do this would be to add cssClasses to each menu element that add dynamically.
    Here's a sample.

    Hope this helps.
  3. UI for ASP.NET AJAX banner
Back to Top