RadUpload select button to perform upload

Thread is closed for posting
3 posts, 1 answers
  1. Lex
    Lex avatar
    2 posts
    Member since:
    Dec 2010

    Posted 27 Dec 2010 Link to this post

    Hello,
    My page has 9 buttons as toolbar and all of them perform postback. 
    When using radUpload in this page, it doesn't matter which one is clicked; file is always uploaded.

    Is there any way to select which element does the uploading?
  2. Answer
    Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 29 Dec 2010 Link to this post

    Hello Lex,

    Here's a help topic that shows how to clear the file upload controls, so they don't upload files when other button's are clicked.

    http://www.telerik.com/help/aspnet-ajax/upload_howtopreventupload.html

    It uses the RadProgressManager's OnClientSubmitting event, but you can apply the same logic to your RadToolBar's OnClientButtonClicking event with some modifications.

    I hope that helps.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lex
    Lex avatar
    2 posts
    Member since:
    Dec 2010

    Posted 29 Dec 2010 Link to this post

    Cori;
    Thank you very much. This solves my problem.
Back to Top