Manually set file to be uploaded client side

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

    Posted 03 May 2011 Link to this post

    Hi,

    I'm trying to achieve something very complex and i hope you can help me with it.

    Imagine there is an ActiveX control which outputs file name and paths (like C:\testDir\testFile.txt) when executed. Once i capture the OCX event, i would like to set this path information to RadAsyncUpload control without using the Browse button.

    I have completed OCX part, captured the path information and event on client, i just don't know how to set the value to RadAsynctUpload control present on the page. Is this possible in any way so that once i give the filename, it will start uploading automatically ?

    I am using Q1.2010 NET35

    Best Regards,

    Ozan GUNCELER
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 04 May 2011 Link to this post

    Hi Ozan,

    RadAsyncUpload control provides the ability for uploading files only with user interaction. For a security reasons(browser limitations) it is not possible to get the files names and upload them directly.

    All the best,
    Peter Filipov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top