browsetext for fileupload control

Oct 30, 2008 at 5:24 AM
The fileupload control provided by you is A-W-E-S-O-M-E.
but I am somewhere mistaking about changing Browse text which is always "Browse Files".
how can I change that.

abhi
Nov 6, 2008 at 2:17 PM
Edited Nov 6, 2008 at 2:37 PM

I had the same problem. Until it gets officially fixed you can change it in the source yourself.

You can either:

  • in Upload.cs change line 232 from script.Append("browseText: '" + _browseText + "',\n"); to script.Append("txtBrowse: '" + _browseText + "',\n");

OR

  • in Resources\Upload\FancyUpload.js replace both occurences of txtBrowse with browseText (lines 58 and 96)

cheers,

Kaarel