TextBox

Hi,

How to bind value to the textbox? Is anything available for now?

Thanks

1 Reply

BC Berly Christopher Syncfusion Team June 3, 2019 08:30 AM UTC

Hi Dmitrik, 
  
Greetings from Syncfusion. 
  
You can bind the value to the TextBox by using bind-value as mentioned in the below code example. 
  
<p>TextBox Value is: @value</p>   
<EjsTextBox id='firstname' bind-value="@value" placeholder='First Name'></EjsTextBox> 
  
  
@functions { 
    public string value = "Syncfusion"; 
} 
  
We have prepared the sample based on your requirement and attached below. 
  
  
Regards, 
Berly B.C 


Loader.
Up arrow icon