Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
imsam  
#1 Posted : Thursday, November 18, 2010 10:05:35 AM(UTC)
imsam

Rank: Newbie

Groups: Member
Joined: 9/29/2010(UTC)
Posts: 2

Hi,

I want to set the UploadSetting in my code behind -- in ASP.NET/C#

I understand that I need to declare UploadSettings in my code behind to set the values for its properties. I haven't been able to figure out how to add the uploadSettings to my uploader control in code behind. Here's what I've got so far.

Aurigma.ImageUploader.UploadSettings uploadSettings = new UploadSettings();

uploadSettings.RedirectUrl = "my_Successful_Upload_page.aspx";

uploadSettings.FilesPerPackage = 1;

How do I now add this to my uploader control?

imsam  
#2 Posted : Thursday, November 18, 2010 10:27:41 AM(UTC)
imsam

Rank: Newbie

Groups: Member
Joined: 9/29/2010(UTC)
Posts: 2

Figured it out. Much simpler than I thought.

MyImageUploader1.UploadSettings.RedirectUrl = "my_Successful_Upload_page.aspx";

Thanks.

Users browsing this topic
Guest
Forum Jump  
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.