Saturday, March 21, 2009

How to set script url`s relative to the website in masterpage

Prepending "~" to the URL says that the URL must be website relative. But this works only for css files, not for scripts. One solution is to use a form with runat="server" and place a script manager as follows

No comments:

Post a Comment