This question is locked. New answers and comments are not allowed.
Hi,
we are working with the ScriptRegistrar and we came accross a problem when releasing versions: the javascript and css code is cache. We wanted to add a timestamp to the url to have the cache ignoring the desired files but I don't see the way of doing that.
When I try .Add("Javascript.js?timestamp=1023203") it gives a virtual path directory exception
is there a method that will append a giving timestamp to all the added javascript files? Couldn't find anything!
thanks
aclaration:
what i want the telerik script registar is to output:
<script type="text/javascript" src="/Application/Scripts/General.js?timestamp=10122012"></script>
instead of
<script type="text/javascript" src="/Application/Scripts/General.js"></script>
can't find any reference for it on all the documentation I've read!
any help will be much apreciated!
we are working with the ScriptRegistrar and we came accross a problem when releasing versions: the javascript and css code is cache. We wanted to add a timestamp to the url to have the cache ignoring the desired files but I don't see the way of doing that.
When I try .Add("Javascript.js?timestamp=1023203") it gives a virtual path directory exception
is there a method that will append a giving timestamp to all the added javascript files? Couldn't find anything!
thanks
aclaration:
what i want the telerik script registar is to output:
<script type="text/javascript" src="/Application/Scripts/General.js?timestamp=10122012"></script>
instead of
<script type="text/javascript" src="/Application/Scripts/General.js"></script>
can't find any reference for it on all the documentation I've read!
any help will be much apreciated!