Try our conversational search powered by Generative AI!

Class WebFormsBase

Namespace: EPiServer.Shell.WebForms
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class WebFormsBase : Page, ISupportsScriptManager, ISystemMessageSink

Constructors

WebFormsBase()

Declaration
public WebFormsBase()

Properties

ContentRepository

Declaration
protected virtual IContentRepository ContentRepository { get; }
Property Value
Type Description
IContentRepository

ContentSecurityRepository

Declaration
protected virtual IContentSecurityRepository ContentSecurityRepository { get; set; }
Property Value
Type Description
IContentSecurityRepository

ContentTypeRepository

Declaration
protected IContentTypeRepository ContentTypeRepository { get; set; }
Property Value
Type Description
IContentTypeRepository

IsPageLeaveCheckEnabled

Declaration
protected virtual bool IsPageLeaveCheckEnabled { get; set; }
Property Value
Type Description
System.Boolean

Locate

Declaration
public ServiceLocationHelper Locate { get; }
Property Value
Type Description
ServiceLocationHelper

PageLeaveCheckMessage

Declaration
protected virtual string PageLeaveCheckMessage { get; set; }
Property Value
Type Description
System.String

ScriptManager

Declaration
public ScriptManager ScriptManager { get; }
Property Value
Type Description
ScriptManager

SetMasterPageOnPreInit

Declaration
protected virtual bool SetMasterPageOnPreInit { get; }
Property Value
Type Description
System.Boolean

SystemMessageContainer

Declaration
public SystemMessageContainer SystemMessageContainer { get; }
Property Value
Type Description
SystemMessageContainer

Methods

GetImageThemeUrl(String)

Declaration
public string GetImageThemeUrl(string image)
Parameters
Type Name Description
System.String image
Returns
Type Description
System.String

InitializeCulture()

Declaration
protected override void InitializeCulture()

OnPreInit(EventArgs)

Declaration
protected override void OnPreInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPreRenderComplete(EventArgs)

Declaration
protected override void OnPreRenderComplete(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

RegisterClientScriptFile(String)

Declaration
public virtual void RegisterClientScriptFile(string rootRelativePath)
Parameters
Type Name Description
System.String rootRelativePath

RegisterCSSFile(String, String)

Declaration
public void RegisterCSSFile(string key, string relativePath)
Parameters
Type Name Description
System.String key
System.String relativePath

TransferToErrorMessage()

Declaration
protected void TransferToErrorMessage()

TransferToErrorMessage(String)

Declaration
protected void TransferToErrorMessage(string message)
Parameters
Type Name Description
System.String message

Translate(String)

Declaration
public virtual string Translate(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String

TranslateFallback(String, String)

Declaration
public virtual string TranslateFallback(string key, string fallback)
Parameters
Type Name Description
System.String key
System.String fallback
Returns
Type Description
System.String

TranslateForScript(String)

Declaration
public virtual string TranslateForScript(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String

Implements

Extension Methods