@(Html.Kendo().TextBox() .Name("txtComments") .Value(@Model.Comments) .HtmlAttributes(new { style = "width:100%" }) )
谢谢.
@Html.TextArea("textarea","",new { @class="k-textBox",style = "width: 100%;" })
正如他们的demo所示.这将允许您获得相同的剑道样式,如果这是你想要的.