MessagesPlaceHolder Methods |
The MessagesPlaceHolder type exposes the following members.
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).) | |
ShowChangesSaved |
Shows the general changes saved message.
| |
ShowConfirmation |
Shows the general confirmation message.
| |
ShowError |
Shows the specified error message, optionally with a tooltip text.
| |
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.) |