We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

FocusIn

Good morning,
after update to the last version, FocusIn() doesn't work anymore.

Thanks in advance

Társis Francke Ferreira

1 Reply

BC Berly Christopher Syncfusion Team July 16, 2019 06:14 AM UTC

Hi Társis,     
   
Greetings from Syncfusion Support.   
   
We have checked your reported problem and we suspect that you have not updated the latest version ejs.interop.min.js and ej2.min.js (17.2.34 version) in your application. So please refer to the latest version files like below code.  
  
[Host.cshtml  
  
[Index.razor  
  
<EjsTextBox @ref="txtName" PlaceHolder='First Name'></EjsTextBox>   
<button @onclick="@click">Click To Focus</button>     
@code{     
EjsTextBox txtName;   
    private void click() {   
        //Call the textbox focus piblic method.    
        txtName.FocusIn();   
    }   
}   


  
 Please find the sample below link.    
  
Regards,   
Berly B.C   


Loader.
Live Chat Icon For mobile
Up arrow icon