我使用了一些Kendo Telerik控件设计了一个视图.我不知道如何将他们的控件绑定到数据.
@Html.EditorFor(model => model.surName,new { htmlAttributes = new { @class = "form-control" } })
如何绑定Kendo文本框?
@(Html.Kendo().TextBox() .Name("fName") .HtmlAttributes(new { placeholder = "First Name",required = "required",validationmessage="Enter First Name" }) )