AbstractUserControl Class |
Namespace: CMS.ExtendedControls
public abstract class AbstractUserControl : UserControl, IEnsureControls, IShortID
The AbstractUserControl type exposes the following members.
Name | Description | |
---|---|---|
AbstractUserControl |
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
| |
AddError |
Adds error text to existing message on the page.
| |
AddHeaderAction |
Adds specified action to the page header actions.
| |
AddInformation |
Adds information text to existing message on the page.
| |
AddMessage |
Adds message text to existing message on the page.
| |
AddWarning |
Adds warning text to existing message on the page.
| |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
| |
Eval(String) |
Evaluates the given value
| |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
| |
EvalReturnType(String) |
Templated Eval, returns the value converted to specific type.
| |
EvalBool |
Evaluates the item data and converts it to the bool.
| |
EvalDateTime |
Evaluates the item data and converts it to the date time.
| |
EvalDouble |
Evaluates the item data and converts it to the integer.
| |
EvalGuid |
Evaluates the item data and converts it to the guid.
| |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
| |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
| |
EvalInteger |
Evaluates the item data and converts it to the integer.
| |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
| |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
| |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
| |
GetImagePath |
Gets UI image relative path.
| |
GetImageUrl |
Gets UI image relative path.
| |
GetString |
Returns localized string.
| |
LoadUserControl |
Loads the user control based on the given path
| |
LogAndShowError |
Logs the exception and
| |
OnInit |
Init event handler.
(Overrides UserControlOnInit(EventArgs).) | |
OnLoad |
Load event handler.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).) | |
Render |
Render event handler.
(Overrides ControlRender(HtmlTextWriter).) | |
ResolveUrl |
Resolves the given URL
| |
ShowConfirmation |
Shows the general confirmation message.
| |
ShowError |
Shows the specified error message, optionally with a tooltip text.
| |
ShowChangesSaved |
Shows the general changes saved message.
| |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
| |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
| |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
| |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
SetShortID |
Sets the short ID to the ID if available.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
ComponentName |
Component name
| |
CurrentDocument |
Current document
| |
CurrentPageInfo |
Current page info
| |
CurrentSite |
Current site
| |
CurrentUser |
Current user
| |
DocumentManager |
Document manager control
| |
EditedObject |
Control's edited object
| |
HeaderActions |
Header actions control
| |
IsLiveSite |
Indicates if control is used on live site.
| |
MessagesPlaceHolder |
Placeholder for messages
| |
ShortID |
Short ID of the control.
| |
StopProcessing |
Indicates if the control should perform the operations.
| |
UIContext |
Control's UI Context
| |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
|
Name | Description | |
---|---|---|
OnAfterUserControlInit |
Fires after UserControl Init.
| |
OnAfterUserControlLoad |
Fires after UserControl Load.
| |
OnAfterUserControlPreRender |
Fires after UserControl PreRender.
| |
OnAfterUserControlRender |
Fires after UserControl Render.
| |
OnBeforeUserControlInit |
Fires before UserControl Init.
| |
OnBeforeUserControlLoad |
Fires before UserControl Load.
| |
OnBeforeUserControlPreRender |
Fires before UserControl PreRender.
| |
OnBeforeUserControlRender |
Fires before UserControl Render.
|