1
html.Validation() FormValidation() Si j'ai ce code.comment ajouter Html.BeginForm
<% using (Html.BeginForm("CreateItem", "Item", FormMethod.Post, new { enctype = "multipart/form-data" })) { %>
<label for="ItemImage">Item Image:</label>
Please use JPEG file format only.<br />
<input type="file" name="file" />
<%= Html.ValidationMessage("ItemImage", "*") %>
<% } %>
Et je veux utiliser MvcContrib pour attraper bug, comment puis-je ajouter html.validation
sur html.beginform
?