RadAsyncUpload not uploading to TargetFolder

Thread is closed for posting
4 posts, 0 answers
  1. Markoniuss
    Markoniuss avatar
    3 posts
    Member since:
    Sep 2010

    Posted 29 Sep 2010 Link to this post

    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
       }
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 04 Oct 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Markoniuss
    Markoniuss avatar
    3 posts
    Member since:
    Sep 2010

    Posted 08 Oct 2010 Link to this post

    Thanks, that's exactly what I was looking for!
  5. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 27 Oct 2010 Link to this post

    hi thanx for your post.
Back to Top