0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'syncReady'
ddiv data-role="dialog" id="dialog"></div><script>
kendo.syncReady(function(){jQuery("#dialog").kendoDialog({"actions":[{"text":"Cancel"},{"text":"Refresh now","action":onOkRefresh,"primary":true}],"modal":false,"title":"Refresh Data","visible":false,"width":400,"content":"\u003cp\u003eUpdate all data from IFS, Agile and Velocity?\u003cbr/\u003e\u003cbr/\u003e Refresh may take a few minutes...\u003cp\u003e"});});
</scr
My code:
<div class="form-group-sm" style="float: left; padding-right: 5px; width: 600px;">
@(Html.Kendo().DropDownListFor(model => model.ConfigurationId)
.Events(ev =>
{
ev.Change("setConfigurationId");
})
.DataTextField("Text")
.DataValueField("Value")
.BindTo(Model.Configurations)
.OptionLabel("-IFS Project Demands-")
.HtmlAttributes(new { style = "width: 100%; font-size: 12px;" })
)
</div>
<div class="form-group-sm" style="float: left; padding-right: 5px; width: 400px;">
@(Html.Kendo().DropDownListFor(model => model.PartId)
.Events(ev =>
{
ev.Change("setConfigurationId");
})
.DataTextField("name")
.DataValueField("value")
.OptionLabel("-Kitted Assemblies-")
.DataSource(source => source.Read(read => read.Action("GetKittedAssemblies", "ExecutionReport").Data("filterKittedAssemblies")).ServerFiltering(true))
.Enable(false)
.AutoBind(false)
.HtmlAttributes(new { style = "width: 100%; font-size: 12px;" })
.CascadeFrom("ConfigurationId")
)
<script>
function filterKittedAssemblies() {
return {
configurationId: $("#ConfigurationId").val()
};
}
</script>
</div>