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
|
|
|
|
Rank: Advanced Member
Groups: 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. |
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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.