How to clear ISDataSource Cache on client side

7 replies. Last post: November 30, 2009 1:22 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Yuting ZhuMember

My webgrid is bound to the ISDataSource. I set EnableCaching to Yes on the ISDataSource. I have a dropdown list. I want to refresh the webgrid with the new data when the list selection is changed on a Flypostback. I call the wg.Refresh() in my srcript. But the webgrid is filled with the cached data. It doesn't call the SelectMethod in ISDataSource. Is there a way to clear ISDataSource cache on the client side?

The attached is a working sample. Please check TestCachingForm.

Thanks!

All times are GMT -5. The time now is 10:52 PM.
Previous Next