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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





145020 Jun 2,2019 04:55 AM UTC Jun 3,2019 08:30 AM UTC Blazor 1
Tags: TextBox
Asked On June 2, 2019 04:55 AM UTC


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


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


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