我找不到有关此主题的任何示例。我尝试编写一些代码,但它发布了空模型。
@model DevExpressMvcApplication2.Models.Customers
@{
ViewBag.Title = "MusteriEkle";
}
@using (Html.BeginForm((string)ViewBag.FormAction, "Home"))
{
<div class="editorContainer">
@Html.DevExpress().TextBox(
settings =>
{
settings.Name = "textBox1";
settings.Width = 170;
settings.Properties.NullText = "Enter your name...";
}
).Bind(Model.customer_name).GetHtml()
</div>
<input type="submit" value="submit" />
}
有没有关于这个话题的例子。我想将 devEx 元素用作带有“for”的 html.helper
谢谢