This is a migrated thread and some comments may be shown as answers.

[Solved] How to redirect after upload?

2 Answers 272 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Darius
Top achievements
Rank 1
Darius asked on 27 Aug 2008, 03:08 PM
On my page I have an "Add New Attachment" link which takes the user to another page where they can upload a file. This page uses RadUpload with RadProgressManager and RadProgressArea. However, after uploading, I want to return to the first page. What's the best way to do this?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 28 Aug 2008, 06:28 AM
Hi Darius,

You can safely use the Response.Redirect call in the upload button's Click handler. Let me know if I am missing some important details in your scenario, that might prevent the usage of Response.Redirect.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 1
answered on 20 May 2009, 03:25 PM
How would I do this (or add any code that runs after upload) when I am placing the submit button inside the upload div with the javascript pageLoad function like in the documentation?

I am actually needing to do something else with the file.  I can see how to access the file in the documentation, but this is done in the submit buttons event handler.  How can I do some custom processing on the file if I am placing the submit button inside the upload div with the javascript pageLoad function?
Tags
Upload (Obsolete)
Asked by
Darius
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Nick
Top achievements
Rank 1
Share this question
or