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 fine 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??
|
|
|
|
Rank: Member
Groups: Member
Joined: 7/12/2007(UTC) Posts: 5
|
I figured it out thanks....
|
|
|
|
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.