This is a migrated thread and some comments may be shown as answers.

clientside cashing with manual clientside binding?

1 Answer 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wolfgang Kamir
Top achievements
Rank 1
Wolfgang Kamir asked on 10 Feb 2010, 03:42 PM
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

 

 

 

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 15 Feb 2010, 08:11 AM
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.
Tags
Grid
Asked by
Wolfgang Kamir
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or