on 03-02-2006 10:36 PM
Hi everybody,
I have a little problem with FileUpload.
When I used 'Browse' button for finding file. Path is written into Context. And I can upload selected file with using context.
but instead of using 'Browse' button, if I write path into textedit element. It doesn't work. How can I fix it.
Hi,
When you select on browse and select a file, the binary format of the selected file is stored in the mapped attrbute. This wont be possible when u type the same. So, the correct of way of using it is with the help of the browse button.
Hope it helps.
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Im having a similar problem with the <i>FileUpload element</i>, with the difference that the page doesnt respond when I write something into the InputField <i>element</i> (that comes with the FileUpload element) without a <b>\</b>. In other cases Im able to catch the exception (if it isnt a valid path) and give a message to the user.
I understand the correct way of using the <i>FileUpload element</i> is with the help of the <i>browse button</i>, but I need to cover any mistake the user can make. Is there anything I can do?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.