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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FocusIn

Thread ID:

Created:

Updated:

Platform:

Replies:

145944 Jul 15,2019 01:45 PM UTC Jul 16,2019 06:14 AM UTC Blazor 1
loading
Tags: TextBox
Társis
Asked On July 15, 2019 01:45 PM UTC

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

Thanks in advance

Társis Francke Ferreira

Berly Christopher [Syncfusion]
Replied On 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   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon