, how to realize this?" /> , how to realize this?" /> , how to realize this?"/>

different versions of output caching based on selected values of several dropdownlists

74 Views Asked by At

So this is about output caching, and I am trying to use <%@ OutputCache VaryByParam="">, how to realize this?

1

There are 1 best solutions below

2
On BEST ANSWER

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.