/build/static/layout/Breadcrumb_cap_w.png

Not able to filter files in HTML input file

hi there

I am not able to filter files in HTML file input
the code i am using for it is

ImpDoc.Accept = "jpg/*"

where ImpDoc is a variable of type System.Web.UI.HtmlControls.HtmlInputFile

Any suggestions where i can be going wrong

thanks in advance

0 Comments   [ + ] Show comments

Answers (1)

Posted by: spartacus 17 years ago
Black Belt
0
Try ImpDoc.Accept = "image/jpeg"

spartacus
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ