Re: make fileupload widget readonly

2010-07-02 Thread Isaac Truett
On Jul 2, 2010 12:15 PM, "Stefan Bachert"  wrote:

Hi,

I would try

fileupload.getElement().setPropertyString("readonly", "readonly");
fileupload.getElement().setPropertyString("disabled", "disabled");

Stefan Bachert
http://gwtworld.de


On Jul 1, 9:54 am, abhi  wrote:
> how to make fileupload  textbox readonly

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: make fileupload widget readonly

2010-07-02 Thread Stefan Bachert
Hi,

I would try

fileupload.getElement().setPropertyString("readonly", "readonly");
fileupload.getElement().setPropertyString("disabled", "disabled");

Stefan Bachert
http://gwtworld.de

On Jul 1, 9:54 am, abhi  wrote:
> how to make fileupload  textbox readonly.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



make fileupload widget readonly

2010-07-01 Thread abhi
how to make fileupload  textbox readonly.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to make FileUpload widget readonly?

2009-12-31 Thread El Mentecato Mayor
Not as far as I know.  What we do is hide the textbox (it's more of a
hack though) by setting its size to zero if possible and/or placing a
blank panel on top of it (varies by browser). Only the "Browse..."
button is visible.

On Dec 29, 12:51 am, Lakindu  wrote:
> Hi,
>
> Is there a way to make FileUpload widget readonly?
> i.e. user should not be able to type on the text field of the
> FileUpload.
>
> Thanks in advance,
> Lakindu

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




How to make FileUpload widget readonly?

2009-12-30 Thread Lakindu
Hi,

Is there a way to make FileUpload widget readonly?
i.e. user should not be able to type on the text field of the
FileUpload.

Thanks in advance,
Lakindu

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.