Top "Asp.net-mvc-validation" questions

ASP.

Validating File Upload - Jquery and "Accept" attribute

I am using a form to upload a file. I want only PDF files to be uploaded. This is my …

jquery asp.net-mvc-3 jquery-validate asp.net-mvc-validation
asp.net Validation on DropDownList box

I have a dropdownlist (cboViewAlbums) which has displays album values. The first item is a Please select an album.... I …

asp.net validation drop-down-menu asp.net-mvc-validation
ASP.NET MVC 2 RC client side validation not working

I can't seem to get any client side validation working on a MVC 2 RC app. My model has the following: …

asp.net-mvc asp.net-mvc-2 asp.net-mvc-validation
ASP.net MVC Validation Hook

I have the following view in ASP.net MVC 3: @model Models.CreateProjectViewModel <script type="text/javascript" src="@Url.Content("~/…

asp.net-mvc asp.net-mvc-3 unobtrusive-validation fluentvalidation asp.net-mvc-validation
Client side validation not working for hidden field in asp.net mvc 3

I have got a hidden field with a validation for it as below @Html.HiddenFor(m => m.Rating) @Html.…

asp.net-mvc-3 jquery-validate asp.net-mvc-validation
jQuery time picker and MVC validation - the field must be a date

I have a property named StartDate in my model. I have used timepicker add-on to jquery.ui plugin from here. …

asp.net-mvc-4 asp.net-mvc-validation jquery-ui-timepicker
Returning a list of keys with ModelState errors

How can I return a list/array of all keys that have an error? I have tried to do the …

asp.net-mvc modelstate asp.net-mvc-validation