MVC File upload unobtrusive validation

The solution contains MVC server side validators that validates a HttpPostedFileBase minimum file size(MinimumFileSizeValidator), maximum file size(MaximumFileSizeValidator) and the file extension respectively(ValidFileTypeValidator).

C# (8.1 MB)
 
 
 
 
 
5 Star
(2)
845 times
Add to favorites
9/12/2016
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
��/// <autosync enabled="true" />

/// <reference path="modernizr-2.6.2.js" />

/// <reference path="jquery-1.10.2.js" />

/// <reference path="bootstrap.js" />

/// <reference path="respond.js" />

/// <reference path="jquery.validate.js" />

/// <reference path="jquery.validate.unobtrusive.js" />

/// <reference path="custom-validators.js" />