How to Reload Content of Panel bar item each time panelbar item is expanded ?

2 posts, 1 answers
  1. Parth
    Parth avatar
    1 posts
    Member since:
    Feb 2013

    Posted 22 Nov 2013 Link to this post

    i am using a kendo Panel bar.
    i am loading the dynemic Content for each item in panel bar from partial view.

    What is need is i need to reload content of panel bar item each time item is selected .

    when i first time select the item in panel bar it makes ajax request to server and fills the content in item. but when i select it second time it does not make request to server . it displays the old data which id fetched from server when i click first time on item.

    is there any way i can reload content of item of panel bar each time item is expanded ? How can i do this ?
    .HtmlAttributes(new { style = "width:100%" })
    .Items(panelbar =>

                .Text("Account Summary")
                .LoadContentFrom("AccountSummary", "QuickView");

                .Text("Messages & Notifications")
                .LoadContentFrom("MessagesNotifications", "QuickView");

         panelbar.Add().Text("Investment Elections")
                .LoadContentFrom("InvestmentElections", "QuickView");

  2. Answer
    Daniel avatar
    2231 posts

    Posted 25 Nov 2013 Link to this post


    In order to reload the content each time, you can use the reload method in the select event.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top