Pages

Sunday, 23 March 2014

Asp.Net Basic Controls - TextBox

TextBox Control:

  • Text box controls are typically used to accept input from the user. A text box control can accept one or more lines to text depending upon the setting of the TextMode attribute.

Asp Code:
        <asp:TextBox ID="txtstate" runat="server" ></asp:TextBox>
Property:
Property Description
Height Set height of label in px
Width Set width of label in px
TextMode SingleLine :
MultiLine :
Password :
ForeColor Set font color as your need
Font Set font style and attribute
BackColor Set label back ground color

Other Control :

Label TextBox Button HyperLink
CheckBox CheckBoxList RadioButton RadioButtonList
Image ImageButton ImageMap Calender
DropDownList ListBox FileUpload