or
Code:
$("#DropDownList1").change(function () {
custCode = $("#DropDownList1").val();
$("#titles").data("kendoDropDownList").dataSource.read(); //shows list Loading But Same Data Is present .
$("#titles").data("kendoDropDownList").refresh(); //NOT Working
});I am Tring to refresh my DropDownList after another DropDownList ..
is clicked but the refresh Method is not define error pops.
therefor i use the dataSource.read() then the DropDownList Shows it loading but data remain the same
<div id="myWindow"> <button onclick="CloseWindow()" >Close Me</button> <script type=text/javascript> function CloseWindow() { try { var kendoWindow = $("#myWindow").data("kendoWindow").close(); } catch (err) { //Unable to get value of the property 'close': object is null or undefined alert("Error \n\n" + err.message); } } </script></div><script> $(document).ready(function () { var myWindow = $("#myWindow").kendoWindow({ width: "300px", height: "200px", title: "Login", modal: false }); });</script>var myWindow = $("#myWindow").kendoWindow({ width: "300px", height: "200px", title: "Login", modal: false, content: "myExternalContent.aspx"});
<a id="layout1" data-role="button" href="#side-view1">
<a id="layout1" data-role="button" href="#main-view1" data-target="main-pane">
var treeview1 = $('#treeview-left').kendoTreeView({
select: onSelect,
checkboxTemplate: kendo.template($(
"#treeview-checkbox-template").html()),
dragAndDrop: true,
dataSource: parent,
expanded: true,
dataTextField: ["parentName", "childName"]
});
So can you please provide me solution where i have done wrong.
Thanks in Advance.
 
data: "{'data':'" +JSON.stringify(_mydata) +"'}",