CssRegistrationRegisterCssLink Method (Page, String, String) |
Adds a link to the custom theme CSS stylesheet to the page header. Supports asynchronous requests.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax public static bool RegisterCssLink(
Page page,
string theme,
string fileName
)
Parameters
- page
- Type: System.Web.UIPage
The page that is registering the CSS link - theme
- Type: SystemString
Stylesheet theme - fileName
- Type: SystemString
Name of the stylesheet file
Return Value
Type:
BooleanSee Also