I want a label and a text box next to each other but i didn't do what i want. How can i do that?
ViewContext.Writer.Write(
"<div class=\"edit_form\">" +
"<div class=\"line\">"
);
Html.DevExpress().Label(label =>
{
label.Text = "Action";
label.ControlStyle.CssClass = "label";
label.AssociatedControlName = "Action";
}).Render();
Html.DevExpress().TextBox(textBox =>
{
textBox.Name = "Action";
textBox.Width = Unit.Percentage(30);
textBox.ControlStyle.CssClass = "editor";
}).Bind(DataBinder.Eval(test, "Action")).Render();
ViewContext.Writer.Write(
"</div>"+
"</div>"
);