we are trying to get the following scenario working:
we use asp:scriptmanager / CompositeScripts to combine our scripts into a few script blocks but after each deploy to the test system we have trouble with testers not getting updated versions of css and javascript (browser cache). For the CSS we have defined our own css user control which appends a Siteversion parameter "?v=1.0.190" for instance to the css url. This siteversion is defined in web.config / appsettings and is bumped on every deploy.
We wanted to be able to use the same strategy for javascripts, but thus far I haven't had any success. When rendering the script tag. the Scriptmanager renders
<script src="/ScriptResource.axd?d=..." type="text/javascript"></script>
Given that the current configured siteversion was 1.0.190, I would want it to render
<script src="/ScriptResource.axd?d=...&v=1.0.190" type="text/javascript"></script>
How do I get at the "script" html output from the script manager so I can change it? It doesn't seem to be present in the stuff rendered in Render, RenderChildren or RenderControl
Yours Andreas