I cant find any example about this topic. I try to write some code but it post null model.
@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" />
}
Is there any example about this topic. I want to use devEx elements as html.helper with "for"
Thanks