AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ResourceRegister..::..RegisterEmbeddedCss Method

Registers an embedded CSS web resource from the specified assembly type.

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

Syntax


public static void RegisterEmbeddedCss(
	Page page,
	Control ctrl,
	Type ctrlTypeFromDll,
	string resourceName
)

Parameters

page
Type: Page
The current page.
ctrl
Type: Control
The control requesting the CSS registration.
ctrlTypeFromDll
Type: Type
A type in the assembly containing the embedded resource.
resourceName
Type: String
The fully qualified embedded resource name.