RadInputManager
The RadInputManager offers an easy and intuitive way to extend a standard ASP.NET TextBox, and without any extra custom code, introduce much functionality, normally related to a Telerik RadInput control. For example, a standard text box control offers no default functionality for text parsing and validation – this has to be done via custom code, either client or server side. This input validation is normally associated with Telerik RadInput controls.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("Input", typeof(RadInputManager))]
[EmbeddedSkin("Input", "Default", typeof(RadInputManager))]
[ClientScriptResource("Telerik.Web.UI.RadInputManager", "Telerik.Web.UI.Calendar.RadPickersPopupDirectionEnumeration.js")]
[ClientScriptResource("Telerik.Web.UI.RadInputManager", "Telerik.Web.UI.Input.InputManager.RadInputManagerScript.js")]
[RequiredScript(typeof(RadTextBox))]
[RequiredScript(typeof(RadDateInput))]
[RequiredScript(typeof(RadNumericTextBox))]
[RequiredScript(typeof(RadMaskedTextBox))]
[RequiredScript(typeof(Core))]
[ToolboxBitmap(typeof(RadInputManager), "Toolbox.Icons.InputManager.png")]
[TelerikToolboxCategory("Data Editing")]
public class RadInputManager : InputManagerBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IScriptControl, IControlResolver, ISkinnableControl, IControl, INamingContainer
Inheritance: objectControlRadControlInputManagerBaseRadInputManager
Implements:
Inherited Members
Constructors
public RadInputManager()
Properties
Gets or sets a value indicating whether manager should be enabled or not.
public virtual bool Enabled { get; set; }
Gets a collection of InputSetting objects that allows for specifying the objects for which input elements will be created on the client-side.
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public InputSettingsCollection InputSettings { get; }
Methods
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
Overrides:
protected override IEnumerable<ScriptReference> GetScriptReferences()
Overrides:
Finds the InputSetting by provided behaviorID.
public InputSetting GetSettingByBehaviorID(string behaviorID)
The behaviorID.
Returns:Finds the InputSetting by provided type.
protected virtual void OnInputSettingCreating(InputSettingCreatingEventArgs args)
protected virtual void RegisterCustomValidators()
Registers the control with the ScriptManager
protected override void RegisterScriptControl()
Overrides:
protected virtual void SetStyleClasses(InputSetting inputSetting)
protected override void TrackViewState()
Overrides:
Events
public event RadInputManager.InputSettingCreatingDelegate InputSettingCreating
public event RadInputManager.ValidatedDelegate Validated
public event RadInputManager.ValidatingDelegate Validating