How or what do I need to put into the fileFilter attribute of the file upload component

asked 23 Jun '14, 20:35

Raymond's gravatar image

Raymond
24320
accept rate: 0%


In case this is still a question, I found a way -

<fileupload name="FileUploader" filefilter=".txt, .csv" domain="DefaultCLOB"/>

Make sure there is a space between file extensions, and there is no *.

I still have a question, though. If my filter has only one extension, and it is registered with some application (like .txt files are opened with Notepad), then it shows that application name in the file type drop-down box. But how can I make it display something like "My Files" instead of "Custom Files" in the Open File dialog when I have multiple extension masks?

link

answered 26 Oct '15, 18:31

Ilia%20Sazonov's gravatar image

Ilia Sazonov
120511
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: 23 Jun '14, 20:35

Seen: 3,825 times

Last updated: 26 Oct '15, 18:31


© Copyright Gerger 2017