--> Property: The Property is control's attribute for control apperance and you can change the control property programatically also
1) ID : This property is use to set the id of any coontrol which is available in your page and you can some chages programatically using this id
2) AccessKey : it is used for key board shortcut key
3) Backcolor : set the backcolor for paricular conrol
4) BorderColor :set the BorderColor for paricular conrol
5) BorderStyle :set the BorderStyle for paricular conrol
6) CssClass : it is for set css class name for particular control
7) Enabled : set the false if you want to control not working(event not fire)
8) Font : this is for appearance of the control
9) ForeColor : set for control text color
10) Height :set height of the control
11) TabIndex :set the Tab index
12) Text :set the text of the control(caption)
13) ToolTip : set text for the purpose of the control and this text is show when mouse over of this control(Hint)
14) Visible :set false if you want to not visible on the web page
15) Width :set the width of the control
16) AutoPostBack :set true if you want to some code execute on code behind after control event fire ( like text changed or selected index changed)
17) MaxLength : set for any int value for not allowed in textbox greter than this value
18) ReadOnly :set True if user not type in the textbox
19) TextMode :you can set the textmode for textbox like password , singleline and multiline
20) DataValueField : this is use for bind DropdownList from table , set the field(Primary key field) of your table
21) DataTextField : this is use for bind DropdownList from table , set the field(string field- which you want to display in dropdownlist) of your table
22) Direction : set direction for control like right to left , left to right , center
23) backImageUrl : set path for the image(which you want to display image ) on particular control
24) RepeatDirection :set vertical or horizontal for RadioButtonList (item show vertical or horizontal)
25)PostBackUrl :set the path for redirection
Event : Event is action fire after some action(like following )
1) Load : This event fire when page is loaded
2) Unload : This event fire when page Unload
3) Click : fire when click on particular control
4) SelectedIndexChanged : fire when selected index changed
5) TextChanged : fire when text changed in the textbox
No comments:
Post a Comment