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

Race condition when selecting initial value

1 Answer 100 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 29 Jan 2012, 08:24 PM
How do you set an initial value in a dropdownlist that is bound to remote data?

Currently I have to use setTimeout to make sure data is loaded before I can call dropdown.value('initalvalue').

I have been searching for an event or something but I cannot find it.

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 01 Feb 2012, 01:15 PM
Hello Christian,

 
You can set initial value to the input element. Check this jsFiddle demo for more information.

Greetings,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
DropDownList
Asked by
Christian
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or