Clarification - ObjectDataSource events and caching

M

msch-prv

(Re-post) I have a datalist tied to an ObjectDataSource (ods) that
selects data via a custom function located in my BLL. The function
retrieves data either directly from the db or the cache using
HttpContext.Current.Cache. When the cached data is loaded back into
the ods, the ods Selected event is "frozen" (fires ok for "fresh
data").
From what I have read, it seems that ods events are disabled for
cached data. Is this true? If so, is there a work-around or a
different approach? In my case, the ods Selected event is used to
update the datalist navigation links. Thanks for any pointers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top