Empty data shown on remote view after second click

3 posts, 0 answers
  1. CH
    CH avatar
    48 posts
    Member since:
    Aug 2010

    Posted 01 Feb 2013 Link to this post

    Hi, i have encounter a weird scenario where my list view suppose to shows a detail information of my project.

    Here is my scenario:
    I have a list view to shows all my product, when i touch\click on the first list view, it will show my remote view(passing in querystring) on the product details.

    I then go back to the first view where it shows all my product, i then select the second product, when i am at my remote view, it is empty. 

    Weird thing is that the second time i tried, it did call my server script to grab the second product information, but it didnt show the data.

    I think it could be some caching issue where remote view is cache. can i uncache it?


  2. CH
    CH avatar
    48 posts
    Member since:
    Aug 2010

    Posted 04 Feb 2013 Link to this post

    Seem like each time when I tab\touch on the item which load my remote data, it will cache it. I manage to delete the data based on data-show event. I am not sure if this is a best practice?

    Below is my code for those who are having the same scenarios as me:
    <div data-role="view" data-title="Views" id="overview-list" data-init="ProjectList" data-layout="overview-layout" data-show="DeleteCacheProjectList" >
      <ul data-role="listview" data-style="inset" data-type="group"  >
                <ul id="endless-scrolling" >
                    <span class="km-load-more">
                      <a class="km-load km-button" data-role="button" data-click="GetProjectListPaging">Load More</a>
     <script id="endless-scrolling-template" type="text/x-kendo-template">
     <a href="/_layouts/CKS.EBE.Mobile/pages/projectDetail.aspx?id=#=ID #" data-transition="slide"" class='km-listview-link' data-role='listview-link'>
        <div class="Lists">
            <img class="pullImage" src="#=Picture1 #" />#= Title #
            <div class="metadata">
            #= Description #
        function DeleteCacheProjectList() {

  3. Kendo UI is VS 2017 Ready
  4. Alexander Valchev
    Alexander Valchev avatar
    2875 posts

    Posted 04 Feb 2013 Link to this post


    I noticed that you opened a support ticket on the same subject. According to the information provided in the ticket, you were able to find a solution.

    In order to avoid further duplication I kindly ask you to submit your questions only once - either in the forums or via support ticket. We monitor both communication channels.
    Thank you in advance.

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