How to restrict the type of the file to browse for using Fileupload

asked 2011-12-14 12:51:09 +0800

ashishchoudhary gravatar image ashishchoudhary
21 1

Hi All,

I am using Fileupload component and using its get() method to browse for a file. Is there any way I can display only particular file format say, txt or jpeg, present in any directory, instead of showing "All Files" in "File of type" of browse option..
I am using ZK 3.5.2 version.

Any kind of help will be appreciated..

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-12-15 08:17:49 +0800

mjablonski gravatar image mjablonski
1284 3 5

updated 2011-12-15 08:18:02 +0800

I don't that this is possible on the client side via ZK. See this old post for reference:


Cheers, Maik

link publish delete flag offensive edit

answered 2011-12-15 12:12:18 +0800

ashishchoudhary gravatar image ashishchoudhary
21 1

Thnkx for info. Mjablonski !!

I'll better try some other way

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-12-14 12:51:09 +0800

Seen: 143 times

Last updated: Dec 15 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More