Text box:


Text box is used to accept data from the user and also display data to user dynamically
Properties of Text Box Control:   
                                       
1. Auto Post Back: (options:[True/False(Default)])                                              
2. Backcolor
3. BorderStyle
4. CausesValidation                                    
5.Enabled(options[True/False(Default)])                                                                                     
6. Font
7. Forecolor                
8. Height
9. MaxLength
10. Text                             
11. Text mode   (options:[Single/MultiLine/Password])                                              
12. Validation group
13. Visible
14. Width
15. ID

AutoPostBack
When set to “true” page request will be pasted and submitted to the end server
When default event is “false” page request will not be submitted to the web server, when default event is faired or raised

BackColor:
·Used to set or get back ground color

BorderStyle:
·        Used to change the appearance of the text box

CausesValidation:
·        When set to true the validation of the page will applied to the control
·        When set to false the validation of the page will not be applied to the control

Enabled:
·        When set to true user can access the control at the run time
·        When set to false user can not access the control at the runtime

Font:
·        Used to set the require font attribute line Rent size, font type, font style etc.,

ForeColor:
·        Used to change the contents color of textbox control

Height:
·        Used to increase or decrease height of the control


Width:
·        Used to increase or decrease width of the control

MaxLength:
·        Used to set maximum number of characters that user can allowed to enter within the textbox control

Text:
·        Used to display the data text box also used to need the data from textbox

TextMode:
·        When set to singleLine data into textbox will appear only in the one line
·        When set to MultiLine data in text box will appear in more than one line
·        When set to Password data in text box will appear with password field effect

ValidationGroup:
·        Used to set two or more control as a Group, so that common validations can be  .....implemented to that button

Visible:
·        When set to “true” control will appear design time also at runtime
·        When ser to “false” control will appear at design time but don’t appear at runtime

(ID):

·        ID is the object name for the control to the respective class
We call the ID is programmatic reference of the Control

No comments:

Post a Comment