Table of Contents


aspx:IncludeScript

A component that provides access to including a JavaScript file on your pages:

<aspx:IncludeScript runat='server' Url='<%# Url.Asset("mythemes/js/lib1.js") %>'/>

 

Note: If you wish to include more than one <aspx:IncludeScript> tag on your page, you must provide an ID value for each component.
 

Properties

PropertyDescription
IdThe ID of the component.
URLThe URL to the script file. The URL could be an absolute CDN URL or a relative URL to Assets.