Help required with file open web control

  • Thread starter Thread starter bala
  • Start date Start date
B

bala

Hi all
sorry for the repost the earlier one was incomplete

My problem is like this
I am using the file control now i want that when the user browse for file
only image files should be visible means I want to apply the filter
One way I have tried was added a accept="image/jpg,image/gif" attribute
< input type="file" id="file" type="file" name="file" runat="server"
accept="image/jpg,image/gif"

but it dosent works it shows all files in filter
please let me know if any one can solve my proublem
thank in advance
bala
 
Browser support for the accept attribute has been almost non-existant!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top