The ControlsExtensions type exposes the following members.
Back to Top
Back to Top
Methods
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.
| |
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.
| |
SetShortID |
Sets the short ID to the ID if available.
|
Properties
Name | Description | |
---|---|---|
RenderShortIDs |
If true, the short IDs of the controls are rendered where possible.
|
See Also