Method | Description | |
---|---|---|
CssInclude ( this html, Type type ) : System.Web.Mvc.MvcHtmlString |
Renders a CSS include tag and appends the assembly's hash code as a querystring to the file to ensure users load the latest code file when the code is updated.
|
|
JavascriptInclude ( this html, Type type ) : System.Web.Mvc.MvcHtmlString |
Renders a Javascript script include tag and appends the assembly's hash code as a querystring to the file to ensure users load the latest code file when the code is updated.
|
public static CssInclude ( this html, Type type ) : System.Web.Mvc.MvcHtmlString | ||
html | this | |
type | Type | Pass a type so we can make a hash of its assembly. This should be a class in your web project. |
return | System.Web.Mvc.MvcHtmlString |
public static JavascriptInclude ( this html, Type type ) : System.Web.Mvc.MvcHtmlString | ||
html | this | |
type | Type | Pass a type so we can make a hash of its assembly. This should be a class in your web project. |
return | System.Web.Mvc.MvcHtmlString |