Recently I was working on a webform using asp.net 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