InputSetting
Class holding settings which are applied to all TextBox TargetControls.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class InputSetting : IStateManager
Inheritance: objectInputSetting
Derived Classes:
Implements:
Inherited Members
Constructors
public InputSetting()
Properties
Gets or sets a value to access the client-side behavior.
public virtual string BehaviorID { get; set; }
In cases where you would like to access the client-side behavior for your setting from script code in the client, you can set this BehaviorID to simplify the process. See example below:
Gets or sets a value indicating whether the value entered into the textbox should be cleared on error.
public virtual bool ClearValueOnError { get; set; }
Gets or sets an instance of the InputManagerClientEvents class which defines the JavaScript functions (client-side event handlers) that are invoked when specific client-side events are raised.
[PersistenceMode(PersistenceMode.InnerProperty)]
public InputManagerClientEvents ClientEvents { get; }
Gets or sets the css style for TextBox when when the control is disabled.
public virtual string DisabledCssClass { get; set; }
A string object that represents the css style for TextBox control. The default value is an empty string object.
Gets or sets a value message shown when the control is empty.
public virtual string EmptyMessage { get; set; }
A string specifying the empty message. The default value is empty string. ("").
Shown when the control is empty and loses focus. You can set the empty message text through EmptyMessage property.
Gets or sets the css style for TextBox when when the control is empty.
public virtual string EmptyMessageCssClass { get; set; }
A string object that represents the css style for TextBox control. The default value is an empty string object.
Gets or sets the css style for enabled TextBox control.
public virtual string EnabledCssClass { get; set; }
A string object that represents the css style properties for enabled TextBox control. The default value is an empty string.
Gets or sets the text for the error message displayed in the control when validation fails.
public virtual string ErrorMessage { get; set; }
The text for the error message displayed in the control when validation fails.
Gets or sets the css style for invalid state of TextBox control.
public virtual string FocusedCssClass { get; set; }
A string object that represents the css style for invalid TextBox control. The default value is an empty string object.
Gets or sets the css style for hovered TextBox control.
public virtual string HoveredCssClass { get; set; }
A string object that represents the css style properties for hovered TextBox control. The default value is an empty string object.
Gets or sets a value indicating the control should be initialized on client or not.
public virtual bool InitializeOnClient { get; set; }
A value indicating the control should be initialized on client or not.
Gets or stes the css style for invalid state of TextBox control.
public virtual string InvalidCssClass { get; set; }
A string object that represents the style properties for invalid TextBox control. The default value is an empty string object.
Gets if the TargetControls in the InputSettings are successfully validated.
public virtual bool IsValid { get; }
The is valid.
Gets or sets the css style for Read Only state of TextBox control.
public virtual string ReadOnlyCssClass { get; set; }
A string object that represents the css style for Read Only TextBox control. The default value is an empty string object.
Gets or sets whether the text in the control selected on focus and how.
public virtual SelectionOnFocus SelectionOnFocus { get; set; }
Determines whether the text in the control selected on focus and how.
Gets a collection of TargetInput objects that allows for specifying the objects for which input will be created on the client-side.
[PersistenceMode(PersistenceMode.InnerProperty)]
public TargetControlCollection TargetControls { get; }
Use the TargetControls collection to programmatically control which objects should be inputtipified on the client-side.
Gets an instance of the InputSettingValidation class which defines the validation behavior.
[PersistenceMode(PersistenceMode.InnerProperty)]
public InputSettingValidation Validation { get; }