clientside cashing with manual clientside binding?

2 posts, 0 answers
  1. Wolfgang Kamir
    Wolfgang Kamir avatar
    80 posts
    Member since:
    Jul 2006

    Posted 10 Feb 2010 Link to this post

    Hi dear forum members,

    I just discovered the very neat feature to caching on the clientside... it's really nice to have fast paging without a postback, even if there are just a few more items than fit on one page....

    My problem here is, that it does not seem to work, when I use clientside binding like so:

    var tableView = clientControls.relatedDocumentsGrid.get_masterTableView();  
    tableView.set_dataSource(result);  
    tableView.dataBind(); 


     

    So I'm calling a Webservice with ASP.NET Ajax instead of just using the <DataBinding /> Element like so:

    <DataBinding Location="..." SelectMethod="..." EnableCaching="true" /> 

    I don't really like declarative binding.... doing it manually gives me more freedom at times....

    Is clientside caching supposed to work, when binding manually on the clientside?

    Thanks for any advice!

    Kind regards,
    Wolfgang

     

     

     

  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 15 Feb 2010 Link to this post

    Hi Wolfgang,

    I'm afraid that due to the nature of client-side caching it is not designed to work  when databinding is handled manually. Therefore you should consider adding caching logic yourself.

    Sincerely yours,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top