Click or drag to resize
AbstractUserControl Methods

The AbstractUserControl type exposes the following members.

Methods
  NameDescription
Public methodAddConfirmation
Adds confirmation text to existing message on the page.
Public methodAddError
Adds error text to existing message on the page.
Public methodAddHeaderAction
Adds specified action to the page header actions.
Public methodAddInformation
Adds information text to existing message on the page.
Public methodAddMessage
Adds message text to existing message on the page.
Public methodAddWarning
Adds warning text to existing message on the page.
Public methodEnsureControls
Interface for control that is able to explicitly ensure its child controls
Public methodEval(String)
Evaluates the given value
Public methodEval(String, Boolean)
Evaluates the item data (safe version), with html encoding.
Public methodEvalReturnType(String)
Templated Eval, returns the value converted to specific type.
Public methodEvalBool
Evaluates the item data and converts it to the bool.
Public methodEvalDateTime
Evaluates the item data and converts it to the date time.
Public methodEvalDouble
Evaluates the item data and converts it to the integer.
Public methodEvalGuid
Evaluates the item data and converts it to the guid.
Public methodEvalHTML
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
Public methodEvalHtmlAttribute
Evaluates the item data, encodes it to be used in HTML attribute.
Public methodEvalInteger
Evaluates the item data and converts it to the integer.
Public methodEvalJSString
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
Public methodEvalText(String)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
Public methodEvalText(String, Boolean)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
Public methodGetFlagIconUrl
Returns resolved path to the flag image for the specified culture.
Public methodGetImagePath
Gets UI image relative path.
Public methodGetImageUrl
Gets UI image relative path.
Public methodGetString
Returns localized string.
Public methodLoadUserControl
Loads the user control based on the given path
Public methodLogAndShowError
Logs the exception and
Protected methodOnInit
Init event handler.
(Overrides UserControlOnInit(EventArgs).)
Protected methodOnLoad
Load event handler.
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreRender
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodRender
Render event handler.
(Overrides ControlRender(HtmlTextWriter).)
Public methodResolveUrl
Resolves the given URL
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(MessageTypeEnum, String, String, String, Boolean)
Shows the specified message, optionally with a tooltip text.
Protected methodShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean)
Shows the specified message, 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 MethodSetShortID
Sets the short ID to the ID if available.
(Defined by ControlsExtensions.)
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