enable cache for ajax request in PanelBar

2 posts, 0 answers
  1. Pierre-Emmanuel
    Pierre-Emmanuel avatar
    1 posts
    Member since:
    Jul 2016

    Posted 19 Jul 2016 Link to this post

    Dear all,

    I use PanelBar through angular integration. I link my kendo bar with my controller thanks to k-data-source.

    <ul id="kendoPanelBar" kendo-panel-bar k-data-source="vm.accordion" k-options="vm.accordion.options">

    I use contentURL to load each panelBar. All work fine !


    My problem is the cache option which is disable for ajax request : Loading of different contentURL is performed with the addition of a timestamp for the request :

    e.g. : selectRecherche?_=XXXXXXXXX


    I would like a classic loading of the content without that timestamp addition (for use of $templateCache). How can I disable that ! I didn't find nothing in k-options! (transport ?)


    Thanks a lot


  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 21 Jul 2016 Link to this post

    Hello Pierre-Emmanuel,

    The Kendo UI PanelBar does not work with the kendo.data.DataSource. It makes internally an ajax request with cache:false option set. Since the ajax request is initiated internally I am afraid it can not be modified and there is no workaround for such case. 

    Boyan Dimitrov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top