Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Re: Redirecting to a page with multi file uploader
Redirecting to a page with multi file uploader
Last post 01-27-2009, 9:37 AM by
cutechat
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
01-23-2009, 2:47 PM
48034
alex76
Joined on 01-23-2009
Posts 1
Redirecting to a page with multi file uploader
Reply
Quote
Since the control fires the FileUploaded event each time a file is posted I have no way of knowing when the last file was processed. I need to redirect to another page or set a label status...something to alert the user that their files are done.
Any ideas?
01-27-2009, 9:37 AM
48089
in reply to
48034
cutechat
Joined on 07-22-2004
Posts 2,332
Re: Redirecting to a page with multi file uploader
Reply
Quote
Hi,
You can use OnPreRender event
for example:
int _c;
Uploader_FileUploaded(...)
{
_c++;
}
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if(_c>0)Response.Redirect(myurl);
}
Regards,
Terry