• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of TextboxFor in ASP.NET MVC Textbox Control

This example demonstrates strongly typed helper of TextBox. Edit the TextBox's value and click on 'Submit' button to pass the modified value to controller.

DEMO
SOURCE

In this sample, the TextBox is rendered with strongly typed helper(FOR control) and bind its value from Controller using model binding. The modified value is bind to controller action "TextboxFor" when submit a page.