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

RadAsyncUpload not uploading to TargetFolder

3 Answers 318 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Markoniuss
Top achievements
Rank 1
Markoniuss asked on 29 Sep 2010, 12:16 PM
Hi,

I have following code

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"
    onfileuploaded="RadAsyncUpload1_FileUploaded" TargetFolder="~/App_Data">
</telerik:RadAsyncUpload>

When I upload file I see it in ~/App_Data/RadUploadTemp but it is not later moved to ~/App_data, any idea?

Also event RadAsyncUpload1_FileUploaded is not fired after uploading file, debugger simple do not go to line.
protected void RadAsyncUpload1_FileUploaded(object sender, FileUploadedEventArgs e)
   {
       int i; // stop debugger here
   }

3 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 04 Oct 2010, 01:02 PM
Hello Markoniuss,

Do you postback the page after the file upload has completed? Keep in mind that RadAsyncUpload uploads the files to a dedicated handler. This means that after the upload has completed the page should be posted back in order for the file event to fire and the files to be processed.

Best wishes,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Markoniuss
Top achievements
Rank 1
answered on 08 Oct 2010, 07:53 PM
Thanks, that's exactly what I was looking for!
0
Jayesh Goyani
Top achievements
Rank 2
answered on 27 Oct 2010, 06:54 AM
hi thanx for your post.
Tags
Upload (Obsolete)
Asked by
Markoniuss
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Markoniuss
Top achievements
Rank 1
Jayesh Goyani
Top achievements
Rank 2
Share this question
or