Dropdown getdata from ajax

2 posts, 0 answers
  1. Ittipon
    Ittipon avatar
    2 posts
    Member since:
    Dec 2011

    Posted 16 Dec 2011 Link to this post

    Sample I have <select class="my_dropdown" > </select>

    in getdata from ajax i need change How do?.

    when i get data from ajax 

    success 
    $('.my_dropdown').html(data);
  2. Lukas
    Lukas avatar
    1 posts
    Member since:
    Dec 2011

    Posted 24 Jan 2012 Link to this post

    var dropdownlist = $("#someID").data("kendoDropDownList");
    dropdownlist.dataSource.data([{text:"newText",value:"newValue"}]);

    i think it works, didn't test it
Back to Top