Class
KendoInput

KendoInput control.

Definition

Namespace:Telerik.TestingFramework.Controls.KendoUI

Assembly:Telerik.TestingFramework.Controls.KendoUI.dll

Syntax:

cs-api-definition
public class KendoInput : KendoUIContainerControlBase

Inheritance: objectControlHtmlControlHtmlContainerControlKendoUIContainerControlBaseKendoInput

Derived Classes: KendoExtendedInput

Inherited Members KendoUIContainerControlBase.matchExpressionKendoUIContainerControlBase.ControlAssert()KendoUIContainerControlBase.SetTelerikComponentsVersion(TelerikComponentsVersion?)KendoUIContainerControlBase.LocatorExpressionHtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

KendoInput()

Initializes a new instance of the KendoInput class.

Declaration

cs-api-definition
public KendoInput()

KendoInput(Element)

Initializes a new instance of the KendoInput class.

Declaration

cs-api-definition
public KendoInput(Element element)

Parameters

element

Element

Properties

CalendarOpened

Declaration

cs-api-definition
public string CalendarOpened { get; }

Property Value

string

ClientId

Get the client Id of the input control. Applies for ComboBox, DropDownList, NumericTextBox

Declaration

cs-api-definition
public string ClientId { get; }

Property Value

string

ClientSideLocator

Get the Client side locator.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

ComboOpened

Declaration

cs-api-definition
public string ComboOpened { get; }

Property Value

string

DateString

Gets date string for date input control.

Declaration

cs-api-definition
public string DateString { get; }

Property Value

string

Format

Get input format if any.

Declaration

cs-api-definition
public string Format { get; }

Property Value

string

The input value.

InputText

Get or set the client-side input text.

Declaration

cs-api-definition
public string InputText { get; set; }

Property Value

string

The input text.

InputType

Get the Input control type - TextBox, NumericTextBox, DateInput, MaskedTextBox.

Declaration

cs-api-definition
public KendoInputControlType InputType { get; }

Property Value

KendoInputControlType

InputValue

Get or set the client-side input value.

Declaration

cs-api-definition
public string InputValue { get; set; }

Property Value

string

The input value.

TimePickerOpened

Declaration

cs-api-definition
public string TimePickerOpened { get; }

Property Value

string

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlContainerControl.AssignElement(Element)

Clear()

Clear the TextBox.

Declaration

cs-api-definition
public void Clear()

InitializeMatchExpression()

Initializes the control match expression pattern used to identify an element as a specific control.

Declaration

cs-api-definition
protected override void InitializeMatchExpression()

Overrides KendoUIContainerControlBase.InitializeMatchExpression()

SetObjectToInputValue(string)

Update input value with object generated from a script.

Declaration

cs-api-definition
public void SetObjectToInputValue(string objectGenratorScript)

Parameters

objectGenratorScript

string

Script that will generate an object.

ToggleCalendar()

Opens/closes the calendar (DatePicker, DateTimePicker)

Declaration

cs-api-definition
public void ToggleCalendar()

ToggleCombo()

Opens/closes the calendar (DatePicker, DateTimePicker)

Declaration

cs-api-definition
public void ToggleCombo()

ToggleTimePicker()

Opens/closes the TimePicker of an input (DateTimePicker)

Declaration

cs-api-definition
public void ToggleTimePicker()

TypeText(string)

Types text into the input.

Declaration

cs-api-definition
public void TypeText(string valueTyped)

Parameters

valueTyped

string

The text to be typed.

TypeText(string, int)

Types text into the input. KeyHoldTime internally set to 50.

Declaration

cs-api-definition
public void TypeText(string valueTyped, int keyPressTime)

Parameters

valueTyped

string

The text to be typed.

keyPressTime

int

The time for each keypress.

TypeText(string, int, int)

Types text into the input.

Declaration

cs-api-definition
public void TypeText(string valueTyped, int keyPressTime, int keyHoldTime)

Parameters

valueTyped

string

The text to be typed.

keyPressTime

int

The time for each keypress.

keyHoldTime

int

The time to hold the key pressed.