jeudi 25 juin 2015

How to rename "browse" button in Html.TextBoxFor

I can rename it in a aspx File using an extra Button and a Javascript method that puts the button in front of the FileUpload.

but how to achive the same in a MVC View:

@Html.TextBoxFor(m => m, new { @class = "form-control", type = "file" })

Aucun commentaire:

Enregistrer un commentaire