AbstractUserControl Methods |
The AbstractUserControl type exposes the following members.
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
| |
AddError |
Adds error text to existing message on the page.
| |
AddHeaderAction |
Adds specified action to the page header actions.
| |
AddInformation |
Adds information text to existing message on the page.
| |
AddMessage |
Adds message text to existing message on the page.
| |
AddWarning |
Adds warning text to existing message on the page.
| |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
| |
Eval(String) |
Evaluates the given value
| |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
| |
EvalReturnType(String) |
Templated Eval, returns the value converted to specific type.
| |
EvalBool |
Evaluates the item data and converts it to the bool.
| |
EvalDateTime |
Evaluates the item data and converts it to the date time.
| |
EvalDecimal |
Evaluates the item data and converts it to the decimal.
| |
EvalDouble |
Evaluates the item data and converts it to the double.
| |
EvalGuid |
Evaluates the item data and converts it to the guid.
| |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
| |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
| |
EvalInteger |
Evaluates the item data and converts it to the integer.
| |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
| |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
| |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
| |
GetImagePath |
Gets UI image relative path.
| |
GetImageUrl |
Gets UI image relative path.
| |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
| |
LoadUserControl |
Loads the user control based on the given path
| |
LogAndShowError |
Logs the exception and
| |
OnInit |
Init event handler.
(Overrides UserControlOnInit(EventArgs).) | |
OnLoad |
Load event handler.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).) | |
Render |
Render event handler.
(Overrides ControlRender(HtmlTextWriter).) | |
ResolveUrl |
Resolves the given URL
| |
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(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
| |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, 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.) | |
SetShortID |
Sets the short ID to the ID if available.
(Defined by ControlsExtensions.) |