or
columns.Bound(c => c.countryName).Width(120).Locked(
true
);
@(Html.Kendo().DropDownListFor(model => model.countryId)
.HtmlAttributes(
new
{ style =
"width: 183px"
, required =
"required"
})
.DataTextField(
"name"
)
.DataValueField(
"id"
)
.OptionLabel(
"Select country..."
)
.DataSource(source =>
{
source.Read(read =>
{
read.Action(
"GetCountries"
,
"Home"
);
});
})
)
@(Html.Kendo().TextBoxFor(m => m.Property).Icon("some css class or whatever").Left())