Come faccio ad aggiungere data-*attributi html usando TextboxFor?
Questo è quello che ho attualmente:
@Html.TextBoxFor(model => model.Country.CountryName, new { data-url= Url.Action("CountryContains", "Geo") })
Come vedi, -sta causando un problema qui data-url. Qual è il modo per aggirare questo?