or
Function JSONRetrieveDocuments( ByVal contactId As Guid, ByVal includeLoanBasedDocuments As Boolean, <DataSourceRequest()> request As DataSourceRequest) As ActionResult
Public Function CreateCrudOperationBuilder(cob As Kendo.Mvc.UI.Fluent.CrudOperationBuilder) As Kendo.Mvc.UI.Fluent.CrudOperationBuilder Dim theRouteValueDictionary As New RouteValueDictionary() theRouteValueDictionary.Add("contactId", Request.QueryString("contactId"))'theRouteValueDictionary.Add("includeLoanBasedDocuments", ???Return cob.Action("JSONRetrieveDocuments", "ContactBasedDocument", theRouteValueDictionary) End Function
function ShouldIncludeLoanBasedDocuments() { return $("#cbIncludeLoanBasedDocuments")[0].checked; }
columns.Bound(o => o.QtyCurrentlyReceived).Width(75).Title("Qty Curr Rx");
jQuery(
function
(){
jQuery(
"#customerList"
).kendoGrid({
change:updateCusterRow,
columns:[
{title:
"\u003cinput checked=\"checked\" disabled=\"true\" id=\"chkCust\" name=\"chkCust\" type=\"checkbox\" value=\"true\" /\u003e\u003cinput name=\"chkCust\" type=\"hidden\" value=\"false\" /\u003e"
,attributes:style:
"border:none;"
},width:
"35px"
,template:
"\r\n #if (Selected == \u0027Y\u0027){ #\r\n \u003cinput type=\u0027checkbox\u0027 id=\u0027chk_#=Id#\u0027 checked /\u003e\r\n # } else { #\r\n \u003cinput type=\u0027checkbox\u0027 id=\u0027chk_#=Id#\u0027 /\u003e\r\n # } #"
,field:
"Selected"
,sortable:
false
,encoded:
true
},
{title:
"Cust #"
,attributes: {style:
"border:none;"
},width:
"70px"
,field:
"Code"
,encoded:
true
},
{title:
"Company Name"
,attributes {style:
"border:none;"
},width:
"370px"
,field:
"CompanyName"
,encoded:
true
}, {title:
"Type"
,attributes: {style:
"border:none;"
},width:
"100px"
,field:
"Type"
,encoded:
true
},
{title:
" "
,attributes:{style:
"border:none;"
},width:
"100px"
,template:
"\u003ca style=\"text-decoration:underline\" href=\u0027javascript:op enKendoDialog(\"editCustomer\")\u0027\u003eEdit Cust\u003c/a\u003e"
,field:
"Id"
,sortable:
false
,encoded:
true
},{title:
" "
,attributes:{style:
"border:none;"
},width:
"100px"
,template:
"\u003ca style=\"text-decoration:underline\" href=\u0027javascript:openKendoDialog(\"userShippingFavorites\")\u0027\u003eShipTos\u003c/a\u003e"
,field:
"Id"
,sortable:
false
,encoded:
true
}],sortable:
true
,selectable:
"Single, Row"
,
toolbar:{},
dataSource:{transport:{read:{url:
""
}},type:
"aspnetmvc-ajax"
,schema: {data:
"Data"
,total:
"Total"
,errors:
"Errors"
,model:{id:
"Id"
,fields:{Id: {type:
"number"
,defaultValue:
null
},Code:{type:
"string"
},CompanyName: {type:
"string"
},Type:{type:
"string"
},Box:{type:
"string"
},Sheet: {type:
"string"
},Selected:{type:
"string"
},Modified: {type:
"string"
},DirectOrderFlag:{type:
"string"
},ShipTos: {type:
"object"
}}}}}});});
<div id=
"control"
>control</div>
<div id=
"base"
style=
"width:600; height:400"
>
<div id=
"container1"
style=
"width:200; height:100"
></div>
<div id=
"container2"
style=
"width:200; height:100"
></div>
</div>
<script>
$(document).ready(
function
() {
$(
"#control"
,
"#container1"
,
"#container2"
).kendoDraggable({
hint:
function
(e) {
return
e.clone();}
});
$(
"#base"
,
"#container1"
,
"#container2"
).kendoDropTarget({
drop:
function
(e) {
this
.element.append(e.draggable.currentTarget.clone()); }
});
});
</script>
Whenever I drop the control to "base" or "container1" or "container2", the drop event was only triggered by "base" only. Can I trigger the drop event in "container1" if I drop the control into it?
Thank you.