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

Notification

Icon
Error

Options
Go to last post Go to first unread
DSCarl  
#1 Posted : Thursday, November 16, 2006 3:26:10 AM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Any help will be appreciate.

Using ASP.NET, IE, FIREFOX, VB.NET

How do I Retrieve or get an additional data on the server side, added using the AddField Method of IU 4.0

This is the way handled my code and I can't seem to Get the Added data from the server side.

VB.Net Code Behind File Has
Code:
Protected VehName As String = "Toyota"


Code:
<script type="text/javascript" src="iuembed.js"></script>                       
 
<script type="text/javascript">

function beforeUploadHandler() 
{
 getImageUploader("ImageUploader").AddField("Vehilce", "<%Response.Write(VehName) %>");
}

var iu = new ImageUploaderWriter("ImageUploader", 600, 500);

// ...Other params...

iu.addEventListener("BeforeUpload", "beforeUploadHandler");

// ...Other params...

iu.writeHtml();

</script>



Now in the code behind in my web page i have the following code to retrieve my added data after the send button is clicked..

Code:
If Request.Form("Vehicle") <> "" Then
    Response.Write(CStr(Request.Form("Vehicle")))
End If


But Request.Form("Vehicle") Returns an empty string...

Is there something i'm missing?


Edited by user Tuesday, February 19, 2008 5:01:06 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Thursday, November 16, 2006 1:07:07 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Please get the ASP.NET helper script to check what fields are really uploaded. Here is the link to the post:
Helper Scripts for Image Uploader .
This helper script saves the whole upload dump to the file and you can check if your field has been send to the server.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
DSCarl  
#3 Posted : Sunday, November 19, 2006 10:11:22 PM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Thank You. Unfortunately, I am unable to download any of the zip files.
I need the one for aspx. when I try to open or download the zip file I get the following error message.

"The Compressed zip folder is invalid or corrupted"

Please, let me know as to how to proceed.

Thanks.

Sincerely,
DSCarl.
DSCarl  
#4 Posted : Sunday, November 19, 2006 10:17:59 PM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Never mind... I was able to download using firefox. I will check what's going with IE 7.0.

Thanks.
DSCarl
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.