aspx:IncludeStyleSheet
A component that provides access to including a cascading style sheet on your page:
<aspx:IncludeStyleSheet runat='server' url='<%# Url.Asset("mytheme/css/site.css") %>'/>
Properties
| Property | Description |
|---|
| Url | Absolute URL or the URL to an asset. |
Note: The "Url.Asset()" function allows you to reference the asset file from your Magentrix cloud file repository. The path you provide to this function is relative to the root of the Assets. In the above example, site.css is located at the root. In order to quickly use the "Url.Asset()" function, right-click on the asset you wish to reference in your code and select "Add to Page". This will place an appropriate server component on the page.