MultipleFileSelection manipulate client side.

2 posts, 0 answers
  1. Sabby
    Sabby avatar
    20 posts
    Member since:
    Jul 2010

    Posted 15 Apr 2013 Link to this post

    Is it possible to manipulate 'MultipleFileSelection' property of AsyncUpload control client side? I want to toggle the fileselection functionality of AyncUpload control client side from 'Automatic' to 'Disabled'
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 16 Apr 2013 Link to this post

    Hi Sabby,

    It is possible to set the MultipleFileSelection mode using JavaScript. Please have a look into the following JavaScript code.

    <script type="text/javascript">
        function setSelectionMode() {
            var upload = $find("<%= RadAsyncUpload1.ClientID %>");
            upload._multipleFileSelection = 1;

    If the _multipleFileSelection property value is set to 1, then the selection mode is set to Automatic. If the same property value is 0, then the MultipleFileSelection mode is disabled.

Back to Top