So this is about output caching, and I am trying to use <%@ OutputCache VaryByParam="">, how to realize this?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
VaryByParam refers to the query string parameters in the request url. So you would need to submit the dropdownlist values as part of the url query string.
You would probably need to use javascript to alter the request url since you would not know the selected values server side.