inHTML код:
<%@ Import Namespace="MvcTest.HelperExtension" %>
<script src="<%= Url.jQueryUI("jquery.ui.accordion.min.js")%>" type="text/javascript"></script>
.
,
,
.
в коде:
public static class UrlHelperExtension
{
public static string jQuery(this UrlHelper helper, string fileName)
{
return helper.Content(string.Format("~/Content/Scripts/{0}", fileName));
}
}