I use a fileupload control on one of my asp.net page. It turned out that fileupload behaves differently with IE and Firefox:
- IE allows one to enter path and file name through the textbox (part of the fileupload), but
- Firefox only allows one to select file through through file dialog and the textbox is disabled/readonly.
I actually like Firefox behavior better, saving some error checking. The question is how to make IE behave the same way... I can easily add event handler through javascript to handle this, make keypress etc always return false. But... is there a simpler way, for example through some sort of property setting...
Also, with Firefox, when one clicks the textbox area, it automatically brings up the file dialog. Can I do this with IE?? (haven't actually tried, but while I am typing... this came to my mind: maybe I can trigger the click even of the upload button, when one clicks inside the textbox...)
If you have any experience with this, please share...