Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

219
Views
Kendo Mvc Multiselect fill values from button

I got a problem with setting the Multiselect Values from Javascript. My Grid looks like this:

@(Html.Kendo().MultiSelect()
            .Name("Test")
            .ValuePrimitive(true)
            .DataSource(source =>
            {
                source.Read(read =>
                {
                    read.Action("GetValues", "Test").Data("getFilter");
                });
            })

Now i try to set the values for the Multiselect from Javascript like this:

var multiselect = $("#Test").kendoMultiSelect().data("kendoMultiSelect");
var res = multiselect.value("Test");

Now the behaviour is, under the multiselect a "second" multiselect is placed with the value inside. How can the "correct" Multiselect be filled?

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I Solved my Problem. For other People might have the same problem, you have to write:

var multiselect = $("#Test").data("kendoMultiSelect");

instead of:

var multiselect = $("#Test").kendoMultiSelect().data("kendoMultiSelect");
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!