Welcome Guest Search | Active Topics | Sign In | Register

ASP.NET File Upload and CallbackPanel Options
JeanR
Posted: Monday, December 19, 2011 8:59:23 AM
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
eo_support
Posted: Monday, December 19, 2011 10:49:19 AM
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
JeanR
Posted: Tuesday, December 20, 2011 8:14:28 AM
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
eo_support
Posted: Tuesday, December 20, 2011 10:15:46 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.