Hi,
is it possible for a control to have both an 'id' property and a 'for' property
I have created the following drop-down list control:
@{Html.EJ().DropDownListFor(b => b.BarrelNumber)
.Datasource((IEnumerable<Barrel>)ViewBag.Barrels)
.DropDownListFields(Df => Df.Text("BarrelNumberNavigation.Number")
.Value("BarrelNumber"))
.Render();
}
and I want to give the drop down list an 'id' property (so that I can cascade to it from another drop-down list).
Is this possible? If so, how would I go about it?
Thanks,
Sean