Click or drag to resize
CSSHelperRegisterCSSLink Method (Page, String, String)
Adds a link to the custom theme CSS stylesheet to the page header. Supports asynchronous requests.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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: Boolean
See Also