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

Notification

Icon
Error

Options
Go to last post Go to first unread
ydaw  
#1 Posted : Wednesday, June 27, 2007 2:58:28 AM(UTC)
ydaw

Rank: Member

Groups: Member
Joined: 6/27/2007(UTC)
Posts: 1

I am using imageuploader to send files to itself ("Action", ".")

The files are mapped to the harddrive in the Page_Load event after a check is done.

I need to redirect the user to another page after successful upload, and send the uploaded filenames in the address bar. ("RedirectURL", "list.aspx?file=" + filename)

How do I get the file names uploaded into this javascript? I'm using C# in the code behind to map the paths and filenames.

Thanks for any path.

PS. Why doesn't Response.Redirect work after the posted files have been processed? It just sits idle.
Alex Makhov  
#2 Posted : Monday, July 2, 2007 1:54:37 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

You can use the Response.Write method to write filenames to the response and then get these filenames in Progress event listener. Also you could check all filenames before upload by using the UploadFile XXX API:

UploadFileCount
UploadFileName

Edited by user Friday, February 22, 2008 5:45:19 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
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.