Hi, I am using file upload control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible?
bshyama24@gmail
-2
Newbie Poster
Recommended Answers
Jump to PostYou cannot customize it to restrict the file type by extension if you use <input type='file'> tag.
But you can validate server side whether the file has the extension of doc, docx and pdf.
All 4 Replies
Ramesh S
129
Posting Pro
bshyama24@gmail
-2
Newbie Poster
Ramesh S
129
Posting Pro
dnanetwork
18
Practically a Master Poster
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.