data-autocomplete is an HTML attribute. First of all, you cannot use dashes when specifying attributes in MVC, so you need to replace your autocomplete with autocomplete data. MVC is smart enough, and the end result will read autocomplete data.
HTML , HTML-:
@Html.TextBoxFor(model => model.Location, new { data_autocomplete = Url.Action("locationSearch", "Home") })
, , .
user338195