0

@Html.Label("YourProperty")

I wanted to make the above label as required. I know how to achieve that in @Html.LabelFor as below:

@Html.LabelFor(m => m.SelectedLocations.LocationList, true)

Could anyone please suggest how can I get the required property in @Html.Label? I just wanted to add a red asterisk in above label.

Thomas Fonn
  • 113
  • 1
  • 2
  • 11

0 Answers0