0
與這兩劍道的下拉列表中我得到下面的JavaScript錯誤:劍道下拉JavaScript錯誤
Uncaught TypeError: undefined is not a function kendo.all.min.js:11
有什麼不對?
問候
<div class="form-group">
@* ReSharper disable once Html.IdNotResolved *@
<label for="for-date" class="col-lg-2 col-md-2 col-sm-12 col-xs-12 control-label">@GlobalResources.ForDate</label>
<div class="col-lg-5 col-md-5 col-sm-12 col-xs-12">
@(Html.Kendo().DropDownList()
.Name("for-date")
.DataTextField("Text")
.DataValueField("Value")
.AutoBind(true)
.DataSource(source => source.Read(read => read.Action("GetForDatesResidentTransmissions", "Report")).ServerFiltering(false))
)
</div>
</div>
<div class="form-group">
@* ReSharper disable once Html.IdNotResolved *@
<label for="place-types" class="col-lg-2 col-md-2 col-sm-12 col-xs-12 control-label">@GlobalResources.PlaceType</label>
<div class="col-lg-5 col-md-5 col-sm-12 col-xs-12">
@(Html.Kendo().MultiSelect()
.Name("place-types")
.DataTextField("Text")
.DataValueField("Value")
.AutoBind(true)
.DataSource(source => source.Read(read => read.Action("GetPlaceTypes", "Report")).ServerFiltering(false))
)
</div>
</div>
UPDATE
在不精縮JS文件中的錯誤被拋出這一行:
Uncaught TypeError: undefined is not a function kendo.all.js:7406
that._pristineData = data.slice(0);
你是否包含jQuery(jquery.min.js)? – OnaBai