Two extra input fields for event "onClientFileUploaded" ?

3 posts, 0 answers
  1. Ralf
    Ralf avatar
    3 posts
    Member since:
    Dec 2014

    Posted 23 Sep 2015 Link to this post


    there are nice and proper examples for adding an extra input field for each upload of a file in the onClientFileUploaded event.
    Like here:

    But how do i add a second ?

    Tried this but failed with a jQuery error :(

    function onClientFileUploaded(radAsyncUpload, args) {
                var $row = $(args.get_row());
                var inputName = radAsyncUpload.getAdditionalFieldID("TextBox");
                var inputID = inputName;
                var input = createInput(inputID, inputName);
                var label = createLabel(inputID);

                var $row2 = $(args.get_row());
                var inputName2 = radAsyncUpload.getAdditionalFieldID("SelectBox");
                var inputID2 = inputName2;
                var input2 = createDocTypeInput(inputID2, inputName2);

    Any help is highly appreciated.


  2. Ralf
    Ralf avatar
    3 posts
    Member since:
    Dec 2014

    Posted 23 Sep 2015 in reply to Ralf Link to this post

    Never mind. Had a error in another javascript method which caused a cascade of errors and this not to work properly.

     @Admin: feel free to delete this thread :)




  3. DevCraft R3 2016 release webinar banner
  4. Ivan Danchev
    Ivan Danchev avatar
    788 posts

    Posted 24 Sep 2015 Link to this post

    Hello Ralf,

    Thank you for getting back to us. I am glad the issue was not in the RadAsyncUpload control.

    Ivan Danchev
    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 Feedback Portal and vote to affect the priority of the items
Back to Top