How do you get HttpPostedFile

2 posts, 0 answers
  1. Peter
    Peter avatar
    12 posts
    Member since:
    Nov 2008

    Posted 10 Jul 2013 Link to this post

    Hi
    I'm using AsyncUpload and need to get httppostedfile from it.
    Is there a way to convert UploadedFile to HttpPostedFile?

    Thanks

    if (IndividualAsyncUpload.UploadedFiles.Count > 0)
    {
        UploadedFile file = IndividualAsyncUpload.UploadedFiles[0];
    }

  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 11 Jul 2013 Link to this post

    Hello Peter,

    It is not possible to convert the UploadedFile object to HttpPostedFile. Keep in mind that UploadedFile object has the same properties as the HttpPostedFile.

    Regards,
    Peter Filipov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top