Dear All,
I have a usercontrol that has the following caching tag
<%@ OutputCache Duration="30" VaryByControl="txtSearch" VaryByParam="*" VaryByCustom="browser" %>
I have different styling and CSS for mobile and for the Web. But the issue is that sometimes the web styling appears on mobile and also mobile styling appears on web. Is there any solution to this.I tried to put VaryByHeader=”User-Agent” in usercontrol but
it throws any error and its that The 'varybyheader' attribute is not supported by the 'outputcache' directive in a user control.
Any help would be greatly appreciated
Go to the complete details ...