36 references to Control
System.Web.Mobile (36)
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (7)
48
ListSelectType selectType =
Control
.SelectType;
54
Control
.SelectType = selectType = ListSelectType.CheckBox;
64
MobileListItemCollection items =
Control
.Items;
82
writer.Write(
Control
.UniqueID.Replace(':', ','));
86
writer.Write(
Control
.UniqueID);
91
if (!String.IsNullOrEmpty(
Control
.Form.Action))
112
writer.ExitStyle(Style,
Control
.BreakAfter);
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (28)
53
MobileListItemCollection items =
Control
.Items;
54
ListSelectType selectType =
Control
.SelectType;
63
int selectedIndex =
Control
.SelectedIndex;
67
renderName =
Control
.UniqueID.Replace(':', ',');
71
renderName =
Control
.UniqueID;
95
writer.WriteAttribute("size",
Control
.Rows.ToString(CultureInfo.InvariantCulture));
106
if (item.Selected && (
Control
.IsMultiSelect || itemIndex == selectedIndex))
132
writer.ExitLayout(Style,
Control
.BreakAfter);
165
(
Control
.IsMultiSelect || itemIndex == selectedIndex) &&
177
writer.ExitStyle(Style,
Control
.BreakAfter);
203
(
Control
.IsMultiSelect || itemIndex == selectedIndex) &&
223
writer.ExitFormat(Style,
Control
.BreakAfter);
237
Debug.Assert (String.IsNullOrEmpty(
Control
.Form.Action),
247
(!
Control
.Visible ||
Control
.Form !=
Control
.MobilePage.ActiveForm))
268
if(
Control
.SelectType == ListSelectType.DropDown &&
270
Control
.Items.Count > 0)
272
Control
.Items[0].Selected = true;
301
for (int i = 0; i <
Control
.Items.Count; i++)
303
Control
.Items[i].Selected = false;
308
Control
.Items[selectedItemIndices[i]].Selected = true;
315
if (Page.DesignMode || String.IsNullOrEmpty(
Control
.Form.Action))
333
if (
Control
.IsMultiSelect ||
Control
.Form.Action.Length > 0 || !IsViewStateEnabled())
335
String uniqueID =
Control
.UniqueID;
336
MobileListItemCollection items =
Control
.Items;
349
Control ctl =
Control
;
UI\MobileControls\Design\Adapters\DesignerSelectionListAdapter.cs (1)
33
((DesignerTextWriter)writer).WriteDesignerStyleAttributes(
Control
, Style);