TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chevy Mark Sunderland
NA
188
167.3k
Fileupload: allow only Microsoft Office Powerpoint 2007 (pptx)
Jul 5 2012 7:33 AM
Hi all
I programmed a FileUpload (C-sharp and ASP.NET) which is already working fine.
Now I'd like to add a feature: At the form where I browse for the file I want to upload, I'd like to validate the file type.
I'd like to allow only Presentation Powerpoint files in the format .pptx.
Does anybody know how i can program this feature?
I try this code, but show message: `Upload status: Only PPTX files are accepted!`
Thanks for your time and hints.
Attachment:
code.zip
Reply
Answers (
2
)
Query for Gridview Textbox
how to get message box on selection of a value from dropdownList which is Inside the Gridview