RadAsyncUpload and selected file

2 posts, 0 answers
  1. Markús
    Markús avatar
    3 posts
    Member since:
    Nov 2010

    Posted 13 Oct 2014 Link to this post


    Is there a good way of implementing a way of selecting one of the uploaded files (e.g. with radio button) that an action will be performed on?
    Optimally I would like to see it in the the list of files, for example in front of the file names.

    Currently I am doing this by filling a RadCombobox box with the list of file names, but the UI is somewhat cluttered and not very transparent.

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1728 posts

    Posted 16 Oct 2014 Link to this post

    Hello Markús,

    Please use the following code snippet in order to implement such scenario.
    //markup code
    <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" OnClientFileSelected="OnClientFileSelected">
    function OnClientFileSelected(sender, args) {
         var currentrow = args.get_row();
         $telerik.$(currentrow).prepend('<input type="radio" name="name" value="value">');

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top