CMSTextBox Class |
Namespace: CMS.Base.Web.UI
public class CMSTextBox : TextBox
The CMSTextBox type exposes the following members.
Name | Description | |
---|---|---|
CMSTextBox |
Name | Description | |
---|---|---|
EnableAutoComplete |
Gets or sets whether autocomplete is enabled.
| |
IsLiveSite |
Indicates if control is used on live site.
| |
MacroProcessingColumnAdapter |
Column adapter to be used when signing macros.
| |
ProcessMacroSecurity |
Indicates if security parameters in macros are handled automatically.
| |
Text |
Gets or sets the text content of the System.Web.UI.WebControls.TextBox control.
If ProcessMacroSecurity is true, macro security parameters are processed.
| |
ValueIsMacro |
If true, the value is processed as a macro (signed as a whole)
| |
WatermarkCssClass |
The CSS class to apply to the TextBox when it has no value (e.g. the watermark text is shown).
| |
WatermarkText |
The text to show when the control has no value.
|
Name | Description | |
---|---|---|
OnInit |
Initializes control
(Overrides ControlOnInit(EventArgs).) | |
OnPreRender |
OnPreRender override
(Overrides TextBoxOnPreRender(EventArgs).) | |
Render |
Renders the text box control. If length exceeds MaxLength because of macros, warning icon is displayed.
(Overrides TextBoxRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |