Click or drag to resize
MessagesPlaceHolder Methods

The MessagesPlaceHolder type exposes the following members.

Methods
  NameDescription
Public methodAddConfirmation
Adds confirmation text to existing message on the page, optionally with a tooltip text.
Public methodAddError
Adds error text to existing message on the page, optionally with a tooltip text.
Public methodAddInformation
Adds information text to existing message on the page, optionally with a tooltip text.
Public methodAddMessage
Adds text message.
Public methodAddWarning
Adds warning text to existing message on the page, optionally with a tooltip text.
Public methodAppend(String)
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.)
Public methodAppend(Control)
Appends the given control to the placeholder
(Inherited from CMSPlaceHolder.)
Public methodClear
Clears the placeholder content
(Inherited from CMSPlaceHolder.)
Public methodClearLabels
Clears labels text
Protected methodCreateChildControls
Creates child controls
(Overrides ControlCreateChildControls.)
Protected methodFinishCurrent
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.)
Public methodGetAnchorScript
Gets script for anchor
Protected methodGetEventLogType
Returns type of event log record based on given message type.
Protected methodLogMessageToEventLog
Logs message to event log.
Protected methodOnInit
Init event handler.
(Inherited from CMSPlaceHolder.)
Protected methodOnPreRender
PreRender event handler
(Overrides CMSPlaceHolderOnPreRender(EventArgs).)
Public methodPrependError
Prepends error text to existing message on the page, optionally with a tooltip text.
Protected methodRegisterScripts
Register required scripts
Protected methodRender
Render event
(Overrides ControlRender(HtmlTextWriter).)
Public methodShowConfirmation
Shows the general confirmation message.
Public methodShowError
Shows the specified error message, optionally with a tooltip text.
Public methodShowChangesSaved
Shows the general changes saved message.
Public methodShowInformation
Shows the given information on the page, optionally with a tooltip text.
Public methodShowMessage
Shows the given message on the page, optionally with a tooltip text.
Public methodShowWarning
Shows the specified warning message, optionally with a tooltip text.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also