Click or drag to resize
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.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.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