Race condition when selecting initial value

2 posts, 1 answers
  1. Christian
    Christian avatar
    2 posts
    Member since:
    Sep 2011

    Posted 29 Jan 2012 Link to this post

    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.
  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3747 posts

    Posted 01 Feb 2012 Link to this post

    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!
Back to Top