Sunday, June 12, 2016

Part 11 Text Box Control

Posted by   on

In This tutorial we will learn about the Text Box Control in Asp.net

The TextBox control is used to get the input from the user of the web application
Properties of a TextBox control

  1. Text Mode Property : SingleLine,MultiLine , Password , Date, Month ,Color , Number ,Week , Email,Url   
  2.  Rows :When you set the textMode to MultiLine ,use Rows property to control the number of lines to display for a MultiLine TextBox control
  3. Columns:When you set the textMode to MultiLine ,use Columns property to control the Width of a MultiLine TextBox control
  4. Text : Get or set the Tex from The TextBox control
  5.  MaxLength : The maximum numbers of characters that a user can enter
  6. Read only : Set this property to true if you don’t want to allow the user to change the text in the TextBox control
  7. ToolTip : When the mouse is over the control then tooltip is displayed
  8. Columns : Use this property to set the width of TextBox control in characters.
  9. Height : Set the Height
  10. Width : Set the Width
  11. PostBack : Automatically Postback when text is changed

Events and Method

TextChanged :

           This event is fired when the text is changed

Methods

           Focus :set input focus onto the control



No comments:
Write comments

Ammar Ijaz© 2016.©.