Example of TextboxFor in ASP.NET Core TextBox Control

TextBox
TextboxFor

This sample demonstrates the strongly typed extension support in the Textbox. The Textbox value is set to textbox from code behind and its set to textbox in a view page by invoking the strongly typed TextboxFor helper.

Click the submit button to post the selected value in the textbox. When posting the null value, a validation error message will be shown below the textbox.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab