Completed
Last Updated: 22 Jun 2022 11:57 by ADMIN
ADMIN
Dimitar
Created on: 27 Jul 2016 12:13
Category: AsyncUpload
Type: Bug Report
0
Unable to focus RadAsyncUpload from the server side with Focus() method

		
1 comment
ADMIN
Rumen
Posted on: 22 Jun 2022 11:57

You can use the solution below to set the focus on the AsyncUpload input:

<script>  
 function focusAsyncButton(sender, args) {
                    var inputs = $telerik.$(".ruFileInput");

                    var input = inputs[inputs.length - 1];

                    if (input) {
                        input.focus();
                    }
                }
</script>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientEvents-OnResponseEnd="focusAsyncButton">