on 05-31-2006 6:22 PM
Hi,
Has anybody worked on the SAP PDK for .NET's FileUpload control? I am unable to upload any file at all. I have set the form enc type to "Multipart/Form-Data". It still does not seem to be uploading (PostedFile property of the FileUpload component always returns null).
Anybody know any solution?
Thanks,
Sachin
Hi Sachin,
WHat portal version and SP are you using and whici PDK version are you using.
If use the fileuploader control on a portal component there is no to change the form enc type.
Try chnaging the isolation level of the iView to URL (trough the portal content administration) and retry loading a file.
Do you get any errors when you load a file?
Could you please post your code?
Regards,
Tsachi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tsachi,
We are using NetWeaver 2004s. Not sure about the exact SP used (The portal is managed by a different group, i have put a request to get more details. Will add it in the next post). "PDK for .NET" version is 2.0
We tried changing isolation level of the iView to URl, but it still does not work. There were no errors. but we did observe the following:
1. adding a fileupload control to the page automatically changes the form's enc type (checked the View Source of the page).
2. As soon as we add a Fileupload control, no postback events seem to get fired. We had a button and a grid (with multiple pages) but i am not able to move to the next page or handle the button's Action event.
By the way, where can i find the limitations of the PDK controls in relation to the various SPs?
Sachin
Hi Sachin,
PDK for .NET 2.0 officially runs with NW04,and not NW04s.
PDK (and Controls) limitation could be found at our central note number 800842.
Adding a fileupload control to the portal component should automatically changes the form's enc type, as in ASP.NET Web.
Did you try using a regular asp.NET file upload control?
Tsachi
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.