Rank: Newbie Groups: Member
Joined: 6/4/2008 Posts: 1 Points: 3
|
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.
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 351 Points: 174
|
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. Aurigma Development Team
|