Latest Development Blogs
Browse By Tag
I have the following scenario:
an ISDataSource (ISDataSource1) related to a sql function that return a product Table, and I have enabled the cache on the ISDataSource.
The all user on web browser can select one product from a webcombo that is bounded on the ISDataSource1.
I have any process interface that can change any product anyway the ISDataSource ha CacheEnalbled so I do not see the changes till I reset the IIS.
How to notify the changes made by the interface, in order to clear the cache of the ISDataSource1?
If the interface raise an event when an update occured, you could invoke the ClearCache ISDataSource table function during the event handler.
If no event is raised, my suggestion would be to invoke the DataBind periodically after some time has passed, for example every 1 minute, in order to have the latest data. The solution will be similar with this thread, however you will need to invoke the data bind periodically
Forgot your password | Sign up
Enter your Wordpress Blogname
Already a member? Sign in