ResolveUrl not working inline

Viewed 16629

I am getting the error on the below code in asp.net 4.0

<script type="text/javascript" src='<%#=ResolveUrl("~/Scripts/jquery-1.4.1.js")%>'></script>

Error Message: CS1525: Invalid expression term '='

I am using this code in Site.Master in head tag

2 Answers
Related