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

Notification

Icon
Error

Options
Go to last post Go to first unread
Stewart  
#1 Posted : Thursday, July 12, 2007 2:25:08 PM(UTC)
Stewart

Rank: Member

Groups: Member
Joined: 7/12/2007(UTC)
Posts: 5

I just purchased this product so I'm new to this.

No matter what I do, I can't get AddField to work.
I followed the online documentation and read all the posts but still no luck.

This is my code:
//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("BeforeUpload", "beforeUploadHandler");
iu.fullPageLoadListenerName = "fullPageLoad";

function beforeUploadHandler() {

var galleryid = document.getElementById("HiddenFieldGallerId").value;
alert(galleryid); <-- this="" alert="" works="">

getImageUploader("ImageUploader").AddField("GalleryId", document.getElementById("HiddenFieldGallerId").value);
getImageUploader("ImageUploader").Send();
alert(galleryid);<-- this="" alert="" never="" fires="">

}


On my upload.aspx page I have:

Dim test As String = Request.Form("GalleryId")

I get test = Nothing


When I put an alert in the javascript after getImageUploader("ImageUploader").AddField("GalleryId", document.getElementById("HiddenFieldGallerId").value); it never fires off

What am I doing wrong??
Stewart  
#2 Posted : Friday, July 13, 2007 8:10:34 AM(UTC)
Stewart

Rank: Member

Groups: Member
Joined: 7/12/2007(UTC)
Posts: 5

I figured it out thanks....
Users browsing this topic
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.