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

Notification

Icon
Error

Options
Go to last post Go to first unread
venkat  
#1 Posted : Wednesday, June 4, 2008 12:01:04 AM(UTC)
venkat

Rank: Newbie

Groups: Member
Joined: 6/3/2008(UTC)
Posts: 1

hi,

I am trying to upload mulitple photos to a remote server using asp.net which is not holinding the applition, i have writen application action values as the url where i have to send the images, but i would like add some more fields in the post, but i am not getting the option of Add field in asp.net, can u help me in this case

<cc1:ImageUploader ID="ImageUploader1" runat="server"

FileMask="*.jpg;*.jpeg;*.jpe;*.gif;*.bmp"

MaxDescriptionTextLength="200"

Action = "http://localhost/images/photoreciver.aspx?uid=<%=userid%>&aid=<%=albumid%>"

PaneLayout="OnePane"

Width="705px"

FilesPerOnePackageCount="1"

UploadThumbnail1FitMode="Fit"

UploadThumbnail1Height="120"

UploadThumbnail1JpegQuality="60"

UploadThumbnail1Width="120">

i would like send useid and albumid dynamicaly as fields rather than in query string.

Eugene Kosmin  
#2 Posted : Thursday, June 19, 2008 8:05:10 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Hi,

Sorry for the long delay...

You can do it from FullPageLoad event handler, for example. You can do it either from code or from control’s properties in design mode (it placed in Client-side Events section):

Code:
protected void ImageUploader1_Load(object sender, EventArgs e)
{
   ImageUploader1.FullPageLoad = "getImageUploader('ImageUploader1').AddField('UserId', '22')";
}
Best regards,

Eugene Kosmin

The Aurigma Development Team

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.