validation for fileuploader
-
hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D
I will do my best?
-
hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D
I will do my best?
Write a javascript function which can check the extension of the file before uploading.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D
I will do my best?
Check this out. File Uploader[^]