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

populating DropDownList with SP

2 Answers 110 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 01 Apr 2016, 03:51 PM
Stored Proc retrieved data but didn't populate DropDownList. Got this: Unhandled exception at line 38, column 9953 in http://localhost:65133/Scripts/kendo/2016.1.226/kendo.all.min.js

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'compareFilters'

2 Answers, 1 is accepted

Sort by
0
Bill
Top achievements
Rank 1
answered on 01 Apr 2016, 06:46 PM

Here is code snippet

@(Html.Kendo().DropDownList()
            .Name("ChartSeriesDdl")
            .DataTextField("Text")
            .DataValueField("Value")
            .HtmlAttributes(new { style = "width: 205px" })
            .OptionLabel("*** Select a Series ***")
            .DataSource(source =>
    {
        source.Read(read => { read.Action("GetSeriesDescs", "SPC_Graph_Viewer"); });
    })
        .Events(e => e.Change("onSeriesChange"))
)

0
Dimiter Topalov
Telerik team
answered on 05 Apr 2016, 08:59 AM
Hello Bill,

I consulted with our DropDownList developers, and the only explanation they had, based on the code provided, is that there might be a multiple Kendo UI scripts registration. 

Please make sure that the Kendo UI scripts are loaded properly. If the problem persists, we will need a runnable example, demonstrating the issue to investigate the matter further.

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