AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ScriptManagerHelper..::..RegisterStyleTag Method

Note: This API is now obsolete.
Registers an inline CSS style block via JavaScript injection.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


[ObsoleteAttribute]
public static void RegisterStyleTag(
	Page page,
	Type type,
	string key,
	string css
)

Parameters

page
Type: Page
The page.
type
Type: Type
The type used for script registration.
key
Type: String
A unique key to prevent duplicate registrations.
css
Type: String
The CSS content to inject.