.aspx
file.
The following method and properties of TextBox are used in the example:
OnTextChanged
method, which gives the name of the function to be executed when the text in the textbox has changed
AutoPostBack
property, which is used to set or return whether or not an automatic post back occurs when the user presses Enter or Tab in the TextBox control.
If this property is set to TRUE the automatic post back is enabled, otherwise FALSE.
Default is FALSE.
Text
property, which gets or sets the text content of the TextBox control
change
subroutine is executed.
The change
subroutine writes a text to the Label control:
demo_textbox3.aspx |
Web |
|
---|---|---|
|