MultiSelectDropDownList inside a Window

2 posts, 0 answers
    PRASANTA avatar
    1 posts
    Member since:
    Mar 2014

    Posted 30 Jul 2015 Link to this post


     Can you please help me for the following problem?

    I have a Kendo Window. Now I have added one MultiSelectDropDownList inside the content like below.

        .Title("Add From Pool")
        .Actions(actions => actions.Close())
        .Events(e => e.Open("copyStructure_Open"))
                <td colspan="2">
                      .Placeholder("Select Office")
                      .HtmlAttributes(new { style = "width:300px" })

    Now I want to bind the MultiSelectDropDownList each time when window opens using below mentioned Ajax Call.

    function copyStructure_Open(e)
            url: 'Employee/GetEmployeesPool',
            type: 'POST',
            success: function (data) {

    But I am not getting the expected result.

    Please help me as I am new to this Kendo UI.



  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 03 Aug 2015 Link to this post

    Hello PRASANTA,


    With the current provided implementation the entire content of the Window will be set to the returned result. 


    As far as I understand you want to populate the MultiSelect DataSource with the result (returned data) from the ajax call. So I would suggest accessing the MultiSelect widget and respectively its data source. Using the data method will set the data items of the data source. 



    Please refer to Obtain a Reference to a Kendo UI widget Instance Using jQuery article. 



    Boyan Dimitrov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top