Kendo().Menu() complex ItemDataBound

2 posts, 0 answers
  1. Tenen
    Tenen avatar
    6 posts
    Member since:
    Feb 2015

    Posted 16 Apr 2015 Link to this post


    Is there a way to use Kendo().Menu() with complex
    ItemDataBound ?

    While creating simple menu with several menu option &
    several children’s is ok, I did not managed to understand how to implement menu
    item with several children & images & dropdown list & buttons.

    In the attached image you will find the best explanation in
    order to understand what I want I've attached an image



  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 20 Apr 2015 Link to this post

    Hello Tenen,

    In general, the widget allows to define custom content. In the ItemDataBound action method, you can mimic the MenuItem Content method behavior and set the item content either to HTML or to an Action method:
    .ItemDataBound((item, product) =>
       item.Text = product.ProductName;
       //Item.Template.Content = <System.Action>;
       //Item.Template.Html = <System.String>;

    Let me know if I can be of a further assistance.

    Georgi Krustev

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top