ControlsExtensions Methods |
The ControlsExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
| |
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.
| |
GetCssClasses |
Returns all CSS classes of control.
| |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
| |
GetString |
Gets the string by the specified resource key
| |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
| |
LoadUserControl |
Loads the user control based on the given path
| |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
| |
ReportException |
Reports the exception within the control hierarchy by placing an exception report next to the given control.
| |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
| |
SetHeaders |
Sets the grid headers to the given resource strings
| |
SetShortID |
Sets the short ID to the ID if available.
|