26 references to Items
System.Web (26)
UI\HtmlControls\HtmlSelect.cs (26)
356
for (int i=0; i <
Items
.Count; i++) {
357
if (
Items
[i].Selected)
362
if (
Items
.Count > 0)
363
Items
[0].Selected = true;
371
if (
Items
.Count == 0) {
375
if (value < -1 || value >=
Items
.Count) {
380
Items
[value].Selected = true;
397
for (int i=0; i <
Items
.Count; i++) {
398
if (
Items
[i].Selected == true) {
455
return(i < 0 || i >=
Items
.Count) ? String.Empty :
Items
[i].Value;
459
int i =
Items
.FindByValueInternal(value, true);
489
Items
.Add((ListItem)obj);
499
for (int i=0; i <
Items
.Count; i++)
500
Items
[i].Selected = false;
614
((IStateManager)
Items
).LoadViewState(statetriplet.Second);
639
Items
.Clear();
642
Items
.Capacity = collection.Count;
663
Items
.Add(item);
828
ListItemCollection liCollection =
Items
;
873
object items = ((IStateManager)
Items
).SaveViewState();
896
if (n >= 0 && n <
Items
.Count)
897
Items
[n].Selected = true;
910
((IStateManager)
Items
).TrackViewState();
936
int n =
Items
.FindByValueInternal(selectedItems[0], false);
948
newSelectedIndices[i] =
Items
.FindByValueInternal(selectedItems[i], false);