• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of TextAreaFor in ASP.NET Core TextArea Control

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

DEMO
SOURCE

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

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