Hi,
You can use the
validateExtensions() client-side method to validate file extensions on the client. Checkout the folowing link to know more on this.
Validating using an ASP.NET validator
Also the following link illustrates how to perform checking filesize on client.
Checking File Size on the Client
Regards,
Princy.