|
Rank: Newbie Groups: Member
Joined: 11/30/2011 Posts: 8
|
Hi Guys,
I'm having trouble posting code - so I hope we can do this without that. My problem is this - I have a a number of eo:dialog controls within a eo:CallbackPanel control. Inside of the dialog are div's with certain functionality elements.
In one of the dialogs I have functionality for uploading files to a SharePoint Document Library. The problem I am having is this - I need to use the ASP upload controls (for design purposes) but it seems that when I upload the file the PostedFile stays null on postback. Now I know that somehow through the CallbackPanel a full postbakc is not done and that might be the reason. How can I however get around that issue?
Kind Regards Jéan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
ASP.NET FileUpload won't work with any AJAX panel. You will have to use our AJAXUploader instead.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 11/30/2011 Posts: 8
|
OK,
When using the AJAXUploader then how do I execute custom server side code on the upload event? I have to do a lot of SharePoint backend stuff on the upload event itself (setting file permissions etc.) so I need to be able to do this.
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will want to take a look of the AJAXUploader documentation and samples first. It should be able to pretty much anything you can do with a standard file Upload control but it works very differently because it uses temp files.
Thanks!
|
|