Asp.net CheckBoxList control
lecturer: Omeed Mustafa Mohammed
institute: Da Vinci institute (duhok)
Size: 575.66 KB
Language: en
Added: Jan 01, 2022
Slides: 6 pages
Slide Content
ASP.NET CheckBoxList Control Department of Computer WEB – GRADE 5 Lecturer. OMEED M. M Lecture 8
CheckBoxList Control CheckBoxList is collection of ListItem objects. How we can add items to the checkboxlist ? Items can be added to the CheckBoxList in the HTML source or in the code behind file. 12/14/2021 Mr.Omeed M. M 2
Important Properties of the CheckBox Control 12/14/2021 Mr.Omeed M. M 3 This is CheckBoxList This is collection of single CheckBox
Important Properties of the CheckBox Control 12/14/2021 Mr.Omeed M. M 5 RepeatColumns property specifies the number of columns used to lay out the items. SelectedIndex property of the CheckBoxList control can also be used to get the index of the selected item in the checkboxlist . But this property, returns only one selected item, and that too, the item with the lowest index. SelectedIndex property returns -1, if nothing is selected. SelectedValue property returns the selected Item's value, but only for one selected item. If no item is selected this property returns empty string.
Any Questions ? 12/14/2021 6 MR. OMEED M. MOHAMMED