This is a migrated thread and some comments may be shown as answers.

How to Assign the data to Kendo Dropdown in web page?

3 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bahakaran
Top achievements
Rank 1
Bahakaran asked on 22 Jun 2015, 07:24 AM

Hi,

 

I have a Kendo drop down (html.kendo().dropdownlist()) in my webpage and I have identified it through the id. how can I assign the option that passed through data sheet. Currently I have to do a foreach search and compare all the available items in the dropdown. Is there any easy way to do this.

I am using C#  as the language to code.

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 25 Jun 2015, 07:05 AM
Hi Bahakaran,

Here is how you can get the data from the source file:

Pages.YouKendoApplication.KendoList.SelectItem(Data["columnName"]);

Let me know if this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Bahakaran
Top achievements
Rank 1
answered on 03 Jul 2015, 12:08 PM

Hi Boyan,

 

The application I am using is rendering the Kendo controls to HTML controls. therefore , I have identified them as HTML Controls.

how can this be done now?

 

0
Ivaylo
Telerik team
answered on 08 Jul 2015, 05:48 AM
Hello,

You should use the same approach but for the HTML control.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Bahakaran
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Bahakaran
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or