RADUpload in Standard ASP.NET Page

6 posts, 1 answers
  1. John
    John avatar
    4 posts
    Member since:
    Apr 2011

    Posted 11 May 2011 Link to this post

    I think that http://tv.telerik.com/watch/silverlight/webinar/radcontrols-silverlight-aspnet mentions at the end of the webinar downloadable code for using the RADUpload control for Silverlight in standard ASP.NET aspx pages.
    I am seeing the following thread http://www.telerik.com/community/forums/silverlight/upload/getting-started-with-upload.aspx, but I am unsure if that only addresses using the control for use in a Silverlight web page and not callable from a standard ASP.NET page.
    I have tried searching the site initially, but can not find that downloadable code.  Is there any good resources or downloadable samples for using the RADUPload control for Silverlight in a standard ASP.NET page?

    John
  2. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 17 May 2011 Link to this post

    Hi John,

    The example mentioned in the TV webinar you referred to is outdated. It was part of the demos of the RadUpload for ASP.NET AJAX. However, due to the limitations that this approach had, the ASP.NET AJAX team developed the new RadAsyncUpload control which allows you to perform single and multi-file uploads through async requests instead of plain postback (the latter is supported by the RadUpload for ASP.NET AJAX control). It can be used in combination with RadProgressManager and RadProgressArea to monitor the progress while the upload process commences and permits automatic and custom validation. You can check its demo here. And you can also find more info here.

    Give the new control a try and let us know if it works for you.

    All the best,
    Tina Stancheva
    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. DevCraft banner
  4. John
    John avatar
    4 posts
    Member since:
    Apr 2011

    Posted 17 May 2011 Link to this post

    Hi Tina,

    I see the demo that you have provided for the RadAsyncUpload control.  That control does not provide the main capability that I wanted to use the RADUpload for Silverlight control for though.  That is the ability to multiselect files in the file explorer that comes up for the upload control's select/browse.  For the demo for the RadAsyncUpload control the user must click and select a file for each file to upload whereas the Silverlight control allows selecting multiple files on a single select/browse button click and all those selected files get uploaded.

    What I am really trying to find out is if there is any code examples or support for using the RADUpload for Silverlight on a page with mutiple standard ASP.NET controls or if instead to use the RADUpload for Silverlight control the whole page or project would need to be converted to Silverlight?

    John
  5. John
    John avatar
    4 posts
    Member since:
    Apr 2011

    Posted 17 May 2011 Link to this post

    Hi Tina,

    Looks like I might have posted too soon.  I tried using the RADAsynUpload control in a project, and saw the MultipleFileSelection property on the control that looks like if it is set to "Automatic", then multiple files can be selected at once in the file explorer for the Select/Browse for files.  Unless I am not understanding that for the control correctly.  So it looks like my previous post was untrue.  I think that it was just that the demo that you included a link to was set to MultipleFileSelection set to disabled if I am understanding correctly.

    I am wondering if there are is any code samples or support for using that control with MultipleFileSelection on and selecting multiple files in a single select/browse?  If I am understanding correctly code that works with multiple file selection in the explorer window is not at any of the links that you initially sent for the control.

    John
  6. John
    John avatar
    4 posts
    Member since:
    Apr 2011

    Posted 19 May 2011 Link to this post

    Hi Tina,

    I have been able to find documentation for using the RadAsyncUpload control on the Telerik site, and I have gotten that control working when I run it in a local webserver from Visual Studio.NET. When I run it in the local webserver, I can multi-select files in the file explorer window as I have Silverlight installed on the machine. When I published the same application/solution to IIS on that same machine and use the control from that same app running in IIS in a browser on the same machine that the local webserver ran on, the file explorer for the control only allows me to single select files at a time though. Silverlight is installed on that machine. Would you know why the instance of the RadAsyncUpload would not multi-select when running the app in IIS?

    John
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 20 May 2011 Link to this post

    Hello John,

    When using the IFrame module to upload files, multiple selection is not possible. Please check with the right button click on the control which module are you using. For reference see the attached screenshot.

    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
DevCraft banner