ControlsExtensions MembersKentico 8.0 API Reference
The ControlsExtensions type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
Public methodStatic memberCallHandled
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.
Public methodStatic memberGetCssClasses
Returns all CSS classes of control.
Public methodStatic memberGetRenderedHTML
Returns HTML which would be rendered by control to page.
Public methodStatic memberHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
Public methodStatic memberLoadUserControl
Loads the user control based on the given path
Public methodStatic memberRemoveCssClass
Removes all occurrences. Class names are case sensitive.
Public methodStatic memberReportException
Reports the exception within the control hierarchy by placing an exception report next to the given control.
Public methodStatic memberSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
Public methodStatic memberSetShortID
Sets the short ID to the ID if available.
Back to Top
Properties

  NameDescription
Public propertyStatic memberRenderShortIDs
If true, the short IDs of the controls are rendered where possible.
Back to Top
See Also