How to restrict on open dialog to show specific file type for fileupload using jquery

Posted by Santosh.impossible under ASP.NET on 12/3/2011 | Points: 10 | Views : 2515 | Status : [Member] | Replies : 0
Hi WebGurus,

Recently I was working on a webform using and C# containing fielupload control to perform a upload functionality. The fileupload was for only .png extension types. when I click the browse button of the fileupload control, the open dialog box opened containing all types of files (e.g. .png,.jpeg,.docx etc.).

I was asked to restrict the open dialog box to show specific file types for the fileupload control using jquery. For my case the open dialog box should contain only .png extension filetypes.

Can anyone help me to get code sample regarding this?

Thanks & Regards,

Santosh Kumar Patro

santosh kumar patro


(No response found.)

Login to post response