3 Answers, 1 is accepted
0
Hi Naga,
The Kendo Input control is the base control for most of the Kendo UI controls such as:
- Kendo AutoComplete
- Kendo ComboBox
- Kendo DropDownList
- Kendo DatePicker
- Kendo TimePicker
- Kendo NumericTextBox
The base class for all of these controls is the KendoInput class. However in order to use their full functionality you need to cast them to their extended classes.
For example, you can type in the KendoNumericTextBox using only the base class with code like this:
But in order to increase or decrease the value entered in the text box, you need to use methods like SpinUpClick() and SpinDownClick(). These methods are not available in the base KendoInput class, so you need to either cast the KendoInput to KendoNumericTextBox or use the following code to find it as such:
Hope this helps!
Kind regards,
Plamen
the Telerik team
The Kendo Input control is the base control for most of the Kendo UI controls such as:
- Kendo AutoComplete
- Kendo ComboBox
- Kendo DropDownList
- Kendo DatePicker
- Kendo TimePicker
- Kendo NumericTextBox
The base class for all of these controls is the KendoInput class. However in order to use their full functionality you need to cast them to their extended classes.
For example, you can type in the KendoNumericTextBox using only the base class with code like this:
ActiveBrowser.NavigateTo(
"http://demos.kendoui.com/web/numerictextbox/events.html"
);
KendoInput textBox = ActiveBrowser.Find.ByExpression<KendoInput>(
"class=k-widget k-numerictextbox"
);
textBox.TypeText(
"50"
);
But in order to increase or decrease the value entered in the text box, you need to use methods like SpinUpClick() and SpinDownClick(). These methods are not available in the base KendoInput class, so you need to either cast the KendoInput to KendoNumericTextBox or use the following code to find it as such:
KendoNumericTextBox textBox = ActiveBrowser.Find.ByExpression<KendoNumericTextBox>(
"class=k-widget k-numerictextbox"
);
Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
Naga
Top achievements
Rank 1
answered on 17 Jul 2012, 02:55 PM
Hello:
There is no translator available for Kendo Input control to slect values from a list box.Can you please help us in this regard.
There is no translator available for Kendo Input control to slect values from a list box.Can you please help us in this regard.
0
Hi Naga,
The KendoInput translator will be included in our next official SP2 release, which should be released at the end of this week.
I have recorded this short video to demonstrate how the KendoInput translator works with our latest internal build. We'll also introduce an InputText property, that you can use for data-driven scenarios as seen in this video.
Kind regards,
Plamen
the Telerik team
The KendoInput translator will be included in our next official SP2 release, which should be released at the end of this week.
I have recorded this short video to demonstrate how the KendoInput translator works with our latest internal build. We'll also introduce an InputText property, that you can use for data-driven scenarios as seen in this video.
Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings