on 07-07-2010 2:23 PM
Hello,
Is it possible to initialize the filepath in the inputfield of the FileUpload UIElement ?
I need to do that to upload the content stored at a fixed place on the client computer.
Note: If someone know how i can read the COM serial port on the client, i will appreciate any help.
Thanks
Hi
It won't be possible to initialize the file path in the FileUpload UI.
There is no method available for the FileUpload UI and also for the IWDResource interface to do this task.
Regards,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nguyen,
The Web Dynpro FileUpload element gets rendered to HTML as an INPUT element of form:
<input type="file" />
While the
<input>
element does have a value attribute which can be set to an initial value, this value is ignored by all browsers when the input type is of type file. This is for security reasons to prevent "stealing" files from a client computer by a combination of HTML and client-side JavaScript.
For this reason, Web Dynpro has no function for setting a file path for the FileUpload element.
- Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.