MessagesPlaceHolder Class |
Namespace: CMS.Base.Web.UI
public class MessagesPlaceHolder : CMSPlaceHolder, INamingContainer
The MessagesPlaceHolder type exposes the following members.
Name | Description | |
---|---|---|
MessagesPlaceHolder |
Constructor
|
Name | Description | |
---|---|---|
BasicStyles |
Indicates if basic styles should be used
| |
Confirmation |
Indicates if confirmation message should be displayed.
| |
ConfirmationBasicCssClass |
Confirmation message basic CSS class
| |
ConfirmationDescription |
Confirmation message description
| |
ConfirmationLabel |
Confirmation label.
| |
ConfirmationText |
Confirmation message text
| |
ConfirmationTimeout |
Timeout of the confirmation message
| |
ConfirmationToolTip |
Confirmation message tooltip
| |
ContainerCssClass |
CSS class for messages container
| |
ErrorBasicCssClass |
Error message basic CSS class
| |
ErrorDescription |
Error message description
| |
ErrorLabel |
Error label.
| |
ErrorText |
Error message text
| |
ErrorTimeout |
Timeout of the error message
| |
ErrorToolTip |
Error message tooltip
| |
HasText |
Indicates whether any of the message labels contains text.
| |
InfoBasicCssClass |
Information message basic CSS class
| |
InfoDescription |
Information message description
| |
InfoLabel |
Information label.
| |
InfoText |
Information message text
| |
InfoTimeout |
Timeout of the information message
| |
InfoToolTip |
Information label tooltip
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSPlaceHolder.) | |
LiveSiteOnly |
Indicates that the placeholder should be used only for live site in context of control
| |
MessageDescriptionLimit |
Maximal length of message description.
| |
OffsetX |
Offset of X coordinates
| |
OffsetY |
Offset of Y coordinates
| |
Opacity |
Opacity (0 - 100) of the messages panel (Applies only for dynamic messages. Default value is 87.)
| |
ShortID |
Short ID of the control.
(Inherited from CMSPlaceHolder.) | |
Timeout |
Timeout of the information or changes saved message
| |
UseRelativePlaceHolder |
Indicates whether relative placeholder should be used to move original content
| |
WarningBasicCssClass |
Warning message basic CSS class
| |
WarningDescription |
Warning message description
| |
WarningLabel |
Warning label.
| |
WarningText |
Warning message text
| |
WarningTimeout |
Timeout of the warning message
| |
WarningToolTip |
Warning message tooltip
| |
WrapperControlClientID |
Gets or sets the client control id of the wrapping control. Control offset and width is used to placeholder positioning
| |
WrapperControlID |
Gets or sets the control id of the wrapping control. Control offset and width is used to placeholder positioning
|
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page, optionally with a tooltip text.
| |
AddError |
Adds error text to existing message on the page, optionally with a tooltip text.
| |
AddInformation |
Adds information text to existing message on the page, optionally with a tooltip text.
| |
AddMessage |
Adds text message.
| |
AddWarning |
Adds warning text to existing message on the page, optionally with a tooltip text.
| |
Append(String) |
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.) | |
Append(Control) |
Appends the given control to the placeholder
(Inherited from CMSPlaceHolder.) | |
Clear |
Clears the placeholder content
(Inherited from CMSPlaceHolder.) | |
ClearLabels |
Clears labels text
| |
CreateChildControls |
Creates child controls
(Overrides ControlCreateChildControls.) | |
FinishCurrent |
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.) | |
GetAnchorScript |
Gets script for anchor
| |
GetEventLogType |
Returns type of event log record based on given message type.
| |
LogMessageToEventLog |
Logs message to event log.
| |
OnInit |
Init event handler.
(Inherited from CMSPlaceHolder.) | |
OnPreRender |
PreRender event handler
(Overrides CMSPlaceHolderOnPreRender(EventArgs).) | |
PrependError |
Prepends error text to existing message on the page, optionally with a tooltip text.
| |
RegisterScripts |
Register required scripts
| |
Render |
Render event
(Overrides ControlRender(HtmlTextWriter).) | |
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 |
Shows the given message on the page, optionally with a tooltip text.
| |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
|
Name | Description | |
---|---|---|
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |