Click or drag to resize
ScriptHelperGetLoaderHtml Method
Gets the HTML content of the standard system loader.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetLoaderHtml(
	Page page,
	string text = null,
	string loaderClass = "loader loader-general",
	string loaderId = "cms-loader",
	string iconSizeClass = "cms-icon-100 loader-icon"
)

Parameters

page
Type: System.Web.UIPage
Page
text (Optional)
Type: SystemString
Text to display
loaderClass (Optional)
Type: SystemString
CSS class of the loader div
loaderId (Optional)
Type: SystemString
ID of the loader div (default is standard cms-loader)
iconSizeClass (Optional)
Type: SystemString
Size class of the icon (default is cms-icon-150)

Return Value

Type: String
See Also