【发布时间】:2015-12-02 14:27:11
【问题描述】:
在 javascript 中我想为 kendowindow 发送刷新对象
var object = {
Number: "dfs",
Id : 1,
SelectedId:"dsf"
}
var window = $("#Window").data("kendoWindow");
window.refresh({
url: url,
data: {
item: object
}
});
型号:
public class Weight
{
public string Number { get; set; }
public int Id { get; set; }
public string SelectedId { get; set; }
}
参数为空
public ActionResult Update(Weight item)
{
}
如何正确发送对象到服务器?
【问题讨论】:
标签: c# asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 kendo-asp.net-mvc