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