BuilderFactory.Scripts() Method
In This Article
Returns control-specific scripts located on a web page.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Common.v18.2.dll
#Declaration
public IHtmlContent Scripts()
#Returns
Type | Description |
---|---|
IHtml |
An IHtml |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
IMPORTANT
The Scripts method must be called at the end of a web page after you include a required j
The code below demonstrates how you can use the method for ASP.NET Core Bootstrap controls.
cshtml
<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous">
</script>
@Html.DevExpress().Scripts()
</body>
</html>
See Also