Jim,
Thanks for your help.
Aman
On Jul 7, 10:56 am, aman wrote:
> I did not tested it on other browsers initially, now when I am running
> it on IE it is not working it works well with google chrome with the
> option of "Custom files" and "All files" in the browsing window.I
> wanted to remove
Aman,
Please respond only on the list, not via private email.
There are no other options. Assume that the browser is free to ignore
the accept attribute, and validate the input when the user clicks the
submit button.
http://www.w3schools.com/TAGS/att_input_accept.asp
http://stackoverflow.com/q
I did not tested it on other browsers initially, now when I am running
it on IE it is not working it works well with google chrome with the
option of "Custom files" and "All files" in the browsing window.I
wanted to remove the "All files" option but now it seems that it is
browser dependent so I am
I'm actually surprised that it worked; what browser, and how did it
represent that setting to the user?
Keep in mind that there's no guarantee that this will work in all
browsers; the W3C spec says only that this "provides the user agent
with a hint of file types to accept". How it does that is u
Hi,
Thanks for your help it really worked,but it is also giving me the
option in the browsing window to select "All files" can I remove this
option?
Thanks,
Amandeep
On Jul 7, 4:40 am, Jim Douglas wrote:
> Untested, and no guarantees, but try something like this:
>
> String mimeList = "applicat
Untested, and no guarantees, but try something like this:
String mimeList = "application/vnd.ms-excel,application/
msexcel,application/x-msexcel,application/x-ms-excel,application/
vnd.ms-excel,application/x-excel,application/x-
dos_ms_excel,application/xls,application/vnd.openxmlformats-
officedo
I am using the basic FileUpload control in gwt and wanted to add the
filter on the extensions allowed in the browsing window, which
restrict the user to select only specific extensions (like xls,xlsx
etc). Tell me how I can achieve this as I want to restrict on the
browsing window itself and cant w