Click or drag to resize
WebPartError Methods

The WebPartError type exposes the following members.

Methods
  NameDescription
Public methodAddConfirmation
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddError
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodStatic memberAddErrorControls
Adds the error controls to the given control
Public methodAddHeaderAction
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.)
Public methodAddInformation
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddMessage
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddWarning
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodClearCache
Causes clearing the control data cache, override to implement the data reloading procedure.
(Inherited from CMSAbstractWebPart.)
Protected methodCreateChildControls
Creates child controls procedure.
(Overrides CMSAbstractWebPartCreateChildControls.)
Public methodEnsureControls
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.)
Public methodEnsureVariants
Ensures the web part variants
(Inherited from CMSAbstractWebPart.)
Public methodEval(String)
Evaluates the given value
(Inherited from AbstractUserControl.)
Public methodEval(String, Boolean)
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.)
Public methodEvalBool
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.)
Public methodEvalDateTime
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.)
Public methodEvalDouble
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.)
Public methodEvalGuid
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.)
Public methodEvalHTML
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.)
Public methodEvalHtmlAttribute
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.)
Public methodEvalInteger
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.)
Public methodEvalJSString
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.)
Public methodEvalText(String)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.)
Public methodEvalText(String, Boolean)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.)
Protected methodExecuteForAllNested
Executes the given action for all nested web parts
(Inherited from CMSAbstractWebPart.)
Public methodGetBothResizerScript
Gets the script for horizontal resizer.
(Inherited from CMSAbstractWebPart.)
Public methodGetCacheDependency
Gets the cache dependency for the control.
(Inherited from CMSAbstractWebPart.)
Protected methodGetContainerId
Gets the ID of the container encapsulating the web part
(Inherited from CMSAbstractWebPart.)
Public methodGetDefaultCacheDependendencies
Gets the default cache dependencies for the data source.
(Inherited from CMSAbstractWebPart.)
Public methodStatic memberGetErrorTitle
Gets the title for the web part error
Public methodGetFlagIconUrl
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.)
Public methodGetHorizontalResizerScript
Gets the script for horizontal resizer.
(Inherited from CMSAbstractWebPart.)
Public methodGetIdentifier
Gets web part identifier.
(Inherited from CMSAbstractWebPart.)
Public methodGetImagePath
Gets UI image relative path.
(Inherited from AbstractUserControl.)
Public methodGetImageUrl
Gets UI image relative path.
(Inherited from AbstractUserControl.)
Public methodGetString
Returns localized string.
(Inherited from AbstractUserControl.)
Public methodGetStringValue
Gets the string value of the web part
(Inherited from CMSAbstractWebPart.)
Public methodGetValue
Returns the value of the given web part property property.
(Inherited from CMSAbstractWebPart.)
Protected methodGetVariantID
Gets the variant ID for rendering
(Inherited from CMSAbstractWebPart.)
Public methodGetVerticalResizerScript
Gets the script for vertical resizer.
(Inherited from CMSAbstractWebPart.)
Protected methodGetWireframeText
Ensures that the given text is not empty
(Inherited from CMSAbstractWebPart.)
Public methodLoadContent
Load the content to the web part.
(Inherited from CMSAbstractWebPart.)
Protected methodLoadStep
Loads the step.
(Inherited from CMSAbstractWebPart.)
Public methodLoadUserControl
Loads the user control based on the given path
(Inherited from AbstractUserControl.)
Public methodLogAndShowError
Logs the exception and
(Inherited from AbstractUserControl.)
Public methodLogEval
Logs the evaluation of the given column to the debug
(Inherited from CMSAbstractWebPart.)
Public methodOnContentLoaded
Method that is called when the page content is loaded, override to implement the control initialization after the content has been loaded.
(Inherited from CMSAbstractWebPart.)
Protected methodOnInit
Init event handler.
(Inherited from CMSAbstractWebPart.)
Protected methodOnLoad
Load event handler.
(Inherited from CMSAbstractWebPart.)
Protected methodOnPreRender
PreRender event handler.
(Inherited from CMSAbstractWebPart.)
Public methodReleaseContext
Releases the web part context.
(Inherited from CMSAbstractWebPart.)
Public methodReloadData
Causes reloading the data, override to implement the data reloading procedure.
(Inherited from CMSAbstractWebPart.)
Public methodRemoveVariantFromCache
Removes the variant from cache.
(Inherited from CMSAbstractWebPart.)
Protected methodRender
Render action.
(Overrides CMSAbstractWebPartRender(HtmlTextWriter).)
Public methodResolveMacros
Resolves the macros within current WebPart context.
(Inherited from CMSAbstractWebPart.)
Public methodResolveUrl
Resolves the given URL
(Inherited from AbstractUserControl.)
Protected methodSaveStepData
Saves the wizard step data.
(Inherited from CMSAbstractWebPart.)
Public methodSetContext
Sets the web part context.
(Inherited from CMSAbstractWebPart.)
Public methodSetValue
Sets the property value of the control, setting the value affects only local property value.
(Inherited from CMSAbstractWebPart.)
Public methodShowConfirmation
Shows the general confirmation message.
(Inherited from AbstractUserControl.)
Public methodShowError
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowChangesSaved
Shows the general changes saved message.
(Inherited from AbstractUserControl.)
Public methodShowInformation
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowMessage(MessageTypeEnum, String, String, String, Boolean)
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Protected methodShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean)
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowWarning
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Protected methodStepFinished
Allows you to execute additional logic after finish/save step event.
(Inherited from CMSAbstractWebPart.)
Protected methodStepLoaded
Allows you to execute additional logic after load step event.
(Inherited from CMSAbstractWebPart.)
Protected methodValidateStepData
Validates the wizard step data.
(Inherited from CMSAbstractWebPart.)
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