Simple Upload with Progress (Custom Validation)

A sample demonstrating how to create user-defined validation functions for an upload control. In this example, we defined two validation rules:

  • Maximum file size: 100K
  • Allowed file types: jpeg, jpg, gif,png
  • MaxFilesLimit: 2

Click the following button to upload.

Server Trace:

Hello Guest  12:40:41.513