Advertisement

04.06.2008 at 10:23AM PDT, ID: 23299672 | Points: 500
[x]
Attachment Details

restricting asp:Upload field to images .jpg, .jpeg, and .png

Asked by hoyaabanks in Web Languages/Standards, Programming for ASP.NET, Microsoft Visual C#.Net

Tags: , , ,

I have a form with asp:upload.  I need these files to be images only with extension .jpg, .jpeg, or .png.  What is the best practice for restricting uploads to upload images?
Start Free Trial
 
Loading Advertisement...
 
[+][-]04.06.2008 at 11:25AM PDT, ID: 21292647

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.06.2008 at 01:20PM PDT, ID: 21293014

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.06.2008 at 01:34PM PDT, ID: 21293056

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.06.2008 at 04:22PM PDT, ID: 21293542

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628