17 overrides of Controls
System.Web (13)
UI\DataSourceControl.cs (1)
69public override ControlCollection Controls {
UI\HierarchicalDataSourceControl.cs (1)
49public override ControlCollection Controls {
UI\WebControls\BaseDataList.cs (1)
126public override ControlCollection Controls {
UI\WebControls\BulletedList.cs (1)
111public override ControlCollection Controls {
UI\WebControls\CompositeControl.cs (1)
30public override ControlCollection Controls {
UI\WebControls\CompositeDataBoundControl.cs (1)
75public override ControlCollection Controls {
UI\WebControls\LoginView.cs (1)
93public override ControlCollection Controls {
UI\WebControls\Menu.cs (1)
190public override ControlCollection Controls {
UI\WebControls\Repeater.cs (1)
201public override ControlCollection Controls {
UI\WebControls\xml.cs (1)
145public override ControlCollection Controls {
UI\WebParts\Part.cs (1)
76public override ControlCollection Controls {
UI\WebParts\ProxyWebPartManager.cs (1)
37public override ControlCollection Controls {
UI\WebParts\WebPartManager.cs (1)
282public override ControlCollection Controls {
System.Web.Extensions (4)
UI\UpdatePanel.cs (1)
112public sealed override ControlCollection Controls {
UI\UpdateProgress.cs (1)
72public override ControlCollection Controls {
UI\WebControls\DataPager.cs (1)
71public override ControlCollection Controls {
UI\WebControls\ListView.cs (1)
226public override ControlCollection Controls {
613 references to Controls
System.Web (462)
ErrorFormatter.cs (1)
186page.Controls.Add(form);
Handlers\TraceHandler.cs (1)
298linkcell.Controls.Add(a);
UI\Control.cs (9)
1600Controls.Add(control); 1909foreach (Control control in Controls) { 1919foreach (Control control in Controls) { 2087ControlCollection ctrlColl = Controls; 2864control._parent.Controls.Remove(control); 2970Controls.Clear(); 3103FillNamedControlsTable(namingContainer, control.Controls); 3221/// inherited from the <see cref='System.Web.UI.ControlCollection'/> class, on the <see cref='System.Web.UI.Control.Controls'/> 3385Controls.SetCollectionReadOnly(SR.Collection_readonly_Codeblocks);
UI\DataSourceControl.cs (1)
71return base.Controls;
UI\HierarchicalDataSourceControl.cs (1)
51return base.Controls;
UI\HtmlControls\HtmlContainerControl.cs (9)
72return((LiteralControl) Controls[0]).Text; 73else if (HasControls() && (Controls.Count == 1) && Controls[0] is DataBoundLiteralControl) 74return ((DataBoundLiteralControl) Controls[0]).Text; 76if (Controls.Count == 0) 84Controls.Clear(); 85Controls.Add(new LiteralControl(value)); 138Controls.Clear(); 139Controls.Add(new LiteralControl(s));
UI\HtmlControls\HtmlTableCellCollection.cs (7)
54return owner.Controls.Count; 70return(HtmlTableCell)owner.Controls[index]; 93owner.Controls.AddAt(index, cell); 105owner.Controls.Clear(); 115return owner.Controls.GetEnumerator(); 155owner.Controls.Remove(cell); 166owner.Controls.RemoveAt(index);
UI\HtmlControls\HtmlTableRowCollection.cs (7)
55return owner.Controls.Count; 71return(HtmlTableRow)owner.Controls[index]; 93owner.Controls.AddAt(index, row); 104owner.Controls.Clear(); 141return owner.Controls.GetEnumerator(); 153owner.Controls.Remove(row); 164owner.Controls.RemoveAt(index);
UI\MasterPage.cs (6)
141if (_master != null && Controls.Contains(_master)) { 142Controls.Remove(_master); 199foreach (Control control in owner.Controls) { 207owner.Controls.Clear(); 211if (owner.Controls.IsReadOnly) { 226owner.Controls.Add(master);
UI\Page.cs (2)
969if (_master != null && Controls.Contains(_master)) { 970Controls.Remove(_master);
UI\PageTheme.cs (2)
126Page.Header.Controls.AddAt(index ++, link); 129Page.Header.Controls.Add(link);
UI\PartialCachingControl.cs (1)
123Controls.Add(_cachedCtrl);
UI\TemplateControl.cs (1)
747control.Controls.Add(uc);
UI\WebControls\AutoGeneratedField.cs (3)
144if (cell.Controls.Count > 0) { 145childControl = cell.Controls[0]; 194cell.Controls.Add(childControl);
UI\WebControls\BaseDataList.cs (1)
129return base.Controls;
UI\WebControls\BoundColumn.cs (1)
181cell.Controls.Add(childControl);
UI\WebControls\BoundField.cs (3)
340if (cell.Controls.Count > 0) { 341childControl = cell.Controls[0]; 588cell.Controls.Add(childControl);
UI\WebControls\ButtonColumn.cs (1)
253cell.Controls.Add(buttonControl);
UI\WebControls\ButtonField.cs (1)
262cell.Controls.Add((WebControl)button);
UI\WebControls\Calendar.cs (1)
1620cdc.Controls.Add(dayContent);
UI\WebControls\ChangePassword.cs (46)
2707c.Controls.Add(successContainer.Title); 2713c.Controls.Add(successContainer.SuccessTextLabel); 2721c.Controls.Add(successContainer.ContinuePushButton); 2722c.Controls.Add(successContainer.ContinueLinkButton); 2723c.Controls.Add(successContainer.ContinueImageButton); 2730c.Controls.Add(successContainer.EditProfileIcon); 2731c.Controls.Add(successContainer.EditProfileLink); 2738c.Controls.Add(table); 2744successContainer.Controls.Add(table2); 3011c.Controls.Add(container.Title); 3019c.Controls.Add(container.Instruction); 3030c.Controls.Add(container.UserNameLabel); 3034c.Controls.Add(container.UserNameTextBox); 3035c.Controls.Add(container.UserNameRequired); 3043c.Controls.Add(container.CurrentPasswordLabel); 3050c.Controls.Add(container.CurrentPasswordTextBox); 3051c.Controls.Add(container.PasswordRequired); 3058c.Controls.Add(container.NewPasswordLabel); 3065c.Controls.Add(container.NewPasswordTextBox); 3066c.Controls.Add(container.NewPasswordRequired); 3074c.Controls.Add(container.PasswordHintLabel); 3082c.Controls.Add(container.ConfirmNewPasswordLabel); 3089c.Controls.Add(container.ConfirmNewPasswordTextBox); 3090c.Controls.Add(container.ConfirmNewPasswordRequired); 3098c.Controls.Add(container.NewPasswordCompareValidator); 3107c.Controls.Add(container.RegExpValidator); 3117c.Controls.Add(container.FailureTextLabel); 3124c.Controls.Add(container.ChangePasswordLinkButton); 3125c.Controls.Add(container.ChangePasswordImageButton); 3126c.Controls.Add(container.ChangePasswordPushButton); 3129c.Controls.Add(container.CancelLinkButton); 3130c.Controls.Add(container.CancelImageButton); 3131c.Controls.Add(container.CancelPushButton); 3138c.Controls.Add(container.HelpPageIcon); 3139c.Controls.Add(container.HelpPageLink); 3140c.Controls.Add(container.HelpPageLinkSeparator); 3141c.Controls.Add(container.CreateUserIcon); 3142c.Controls.Add(container.CreateUserLink); 3146c.Controls.Add(container.CreateUserLinkSeparator); 3147c.Controls.Add(container.PasswordRecoveryIcon); 3148c.Controls.Add(container.PasswordRecoveryLink); 3149c.Controls.Add(container.EditProfileLinkSeparator); 3150c.Controls.Add(container.EditProfileIcon); 3151c.Controls.Add(container.EditProfileLink); 3158c.Controls.Add(table); 3164container.Controls.Add(table2);
UI\WebControls\CheckBoxField.cs (3)
237if (cell.Controls.Count > 0) { 238childControl = cell.Controls[0]; 294cell.Controls.Add(childControl);
UI\WebControls\CheckBoxList.cs (1)
45Controls.Add(_controlToRepeat);
UI\WebControls\Column.cs (1)
347cell.Controls.Add(headerControl);
UI\WebControls\CommandField.cs (6)
550cell.Controls.Add((WebControl)button); 603cell.Controls.Add(spaceControl); 612cell.Controls.Add(spaceControl); 625cell.Controls.Add(spaceControl); 633cell.Controls.Add(spaceControl); 641cell.Controls.Add(spaceControl);
UI\WebControls\CompositeControl.cs (1)
33return base.Controls;
UI\WebControls\CompositeDataBoundControl.cs (1)
78return base.Controls;
UI\WebControls\Content.cs (1)
72foreach (Control child in container.Controls) {
UI\WebControls\CreateUserWizard.cs (16)
2244leftCell.Controls.Add(leftCellControl); 2249rightCell.Controls.Add(control); 2269cell.Controls.Add(control); 2473dictionary[_customNavigationControls] = CustomNavigationContainers[ActiveStep].Controls; 2492step.Controls.Clear(); 2504step.Controls.Add(_createUserStepContainer); 2506step.Controls.Clear(); 2519step.Controls.Add(_completeStepContainer); 3117c.Controls.Add(container.SuccessTextLabel); 3310rightCell.Controls.Add(container.PasswordHintLabel); 3422container.Controls.Add(table); 3484tableCell.Controls.Add(linkButton); 3485tableCell.Controls.Add(imageButton); 3486tableCell.Controls.Add(button); 3530container.Controls.Add(item); 3538container.Controls.Add(dataList);
UI\WebControls\DataBoundControlHelper.cs (1)
119foreach (Control childControl in container.Controls) {
UI\WebControls\DataControlField.cs (1)
533cell.Controls.Add(headerControl);
UI\WebControls\DataGrid.cs (12)
1319cell.Controls.Add(prevButton); 1324cell.Controls.Add(prevLabel); 1327cell.Controls.Add(new LiteralControl("&nbsp;")); 1335cell.Controls.Add(nextButton); 1340cell.Controls.Add(nextLabel); 1384cell.Controls.Add(button); 1386cell.Controls.Add(new LiteralControl("&nbsp;")); 1395cell.Controls.Add(label); 1404cell.Controls.Add(button); 1408cell.Controls.Add(new LiteralControl("&nbsp;")); 1413cell.Controls.Add(new LiteralControl("&nbsp;")); 1421cell.Controls.Add(button);
UI\WebControls\DataList.cs (1)
1308IEnumerator controlEnum = item.Controls.GetEnumerator();
UI\WebControls\DataListItem.cs (1)
128IEnumerator controlEnum = this.Controls.GetEnumerator();
UI\WebControls\DetailsView.cs (12)
1883cell.Controls.Add((Control)firstButton); 1902cell.Controls.Add((Control)prevButton); 1922cell.Controls.Add((Control)nextButton); 1942cell.Controls.Add((Control)lastButton); 2011cell.Controls.Add((Control)firstButton); 2023cell.Controls.Add(button); 2035cell.Controls.Add(label); 2043cell.Controls.Add(button); 2056cell.Controls.Add(button); 2078cell.Controls.Add((Control)lastButton); 2720cell.Controls.Add(pagerTable); 3332foreach (Control control in contentFieldCell.Controls) {
UI\WebControls\EditCommandColumn.cs (2)
156ControlCollection controls = cell.Controls; 192ControlCollection controls = cell.Controls;
UI\WebControls\FormView.cs (11)
1589cell.Controls.Add((Control)firstButton); 1606cell.Controls.Add((Control)prevButton); 1624cell.Controls.Add((Control)nextButton); 1643cell.Controls.Add((Control)lastButton); 1709cell.Controls.Add((Control)firstButton); 1720cell.Controls.Add(button); 1732cell.Controls.Add(label); 1739cell.Controls.Add(button); 1751cell.Controls.Add(button); 1771cell.Controls.Add((Control)lastButton); 2348cell.Controls.Add(pagerTable);
UI\WebControls\GridView.cs (12)
2441cell.Controls.Add((Control)firstButton); 2462cell.Controls.Add((Control)prevButton); 2483cell.Controls.Add((Control)nextButton); 2504cell.Controls.Add((Control)lastButton); 2573cell.Controls.Add((Control)firstButton); 2585cell.Controls.Add(button); 2597cell.Controls.Add(label); 2605cell.Controls.Add(button); 2619cell.Controls.Add(button); 2642cell.Controls.Add((Control)lastButton); 3303cell.Controls.Add(pagerTable); 4097foreach (Control control in cell.Controls) {
UI\WebControls\HyperLink.cs (2)
186Controls.Clear(); 255Controls.Clear();
UI\WebControls\HyperLinkColumn.cs (1)
266cell.Controls.Add(hyperLink);
UI\WebControls\HyperLinkField.cs (1)
306cell.Controls.Add(hyperLink);
UI\WebControls\ImageField.cs (13)
283if (cell.Controls.Count == 0) { // this should happen only in design mode 288childControl = cell.Controls[0]; 452cell.Controls.Add(editor); 462cell.Controls.Add(image); 463cell.Controls.Add(label); 482if (boundControl.Controls.Count == 0 || !(boundControl.Controls[0] is Image)) { 485((Image)boundControl.Controls[0]).Visible = false; 495if (cell.Controls.Count < 2 || !(cell.Controls[0] is Image) || !(cell.Controls[1] is Label)) { 498Image image = (Image)cell.Controls[0]; 499Label label = (Label)cell.Controls[1];
UI\WebControls\Label.cs (2)
138Controls.Clear(); 208Controls.Clear();
UI\WebControls\LinkButton.cs (2)
181Controls.Clear(); 384Controls.Clear();
UI\WebControls\login.cs (92)
1903c.Controls.Add(loginContainer.Title); 1911c.Controls.Add(loginContainer.Instruction); 1922c.Controls.Add(loginContainer.UserNameLabel); 1926c.Controls.Add(loginContainer.UserNameTextBox); 1927c.Controls.Add(loginContainer.UserNameRequired); 1934c.Controls.Add(loginContainer.PasswordLabel); 1938c.Controls.Add(loginContainer.PasswordTextBox); 1939c.Controls.Add(loginContainer.PasswordRequired); 1943c.Controls.Add(loginContainer.RememberMeCheckBox); 1947c.Controls.Add(loginContainer.LinkButton); 1948c.Controls.Add(loginContainer.ImageButton); 1949c.Controls.Add(loginContainer.PushButton); 1956c.Controls.Add(loginContainer.FailureTextLabel); 1963c.Controls.Add(loginContainer.CreateUserIcon); 1964c.Controls.Add(loginContainer.CreateUserLink); 1966c.Controls.Add(loginContainer.CreateUserLinkSeparator); 1967c.Controls.Add(loginContainer.PasswordRecoveryIcon); 1968c.Controls.Add(loginContainer.PasswordRecoveryLink); 1970c.Controls.Add(loginContainer.PasswordRecoveryLinkSeparator); 1971c.Controls.Add(loginContainer.HelpPageIcon); 1972c.Controls.Add(loginContainer.HelpPageLink); 1979c.Controls.Add(table); 1985loginContainer.Controls.Add(table2); 1998c.Controls.Add(loginContainer.Title); 2006c.Controls.Add(loginContainer.Instruction); 2015c.Controls.Add(loginContainer.UserNameLabel); 2022c.Controls.Add(loginContainer.PasswordLabel); 2028c.Controls.Add(loginContainer.UserNameTextBox); 2029c.Controls.Add(loginContainer.UserNameRequired); 2033c.Controls.Add(loginContainer.PasswordTextBox); 2034c.Controls.Add(loginContainer.PasswordRequired); 2038c.Controls.Add(loginContainer.RememberMeCheckBox); 2043c.Controls.Add(loginContainer.LinkButton); 2044c.Controls.Add(loginContainer.ImageButton); 2045c.Controls.Add(loginContainer.PushButton); 2052c.Controls.Add(loginContainer.FailureTextLabel); 2059c.Controls.Add(loginContainer.CreateUserIcon); 2060c.Controls.Add(loginContainer.CreateUserLink); 2062c.Controls.Add(loginContainer.CreateUserLinkSeparator); 2063c.Controls.Add(loginContainer.PasswordRecoveryIcon); 2064c.Controls.Add(loginContainer.PasswordRecoveryLink); 2066c.Controls.Add(loginContainer.PasswordRecoveryLinkSeparator); 2067c.Controls.Add(loginContainer.HelpPageIcon); 2068c.Controls.Add(loginContainer.HelpPageLink); 2075c.Controls.Add(table); 2081loginContainer.Controls.Add(table2); 2094c.Controls.Add(loginContainer.Title); 2102c.Controls.Add(loginContainer.Instruction); 2112c.Controls.Add(loginContainer.UserNameLabel); 2116c.Controls.Add(loginContainer.UserNameTextBox); 2117c.Controls.Add(loginContainer.UserNameRequired); 2127c.Controls.Add(loginContainer.PasswordLabel); 2131c.Controls.Add(loginContainer.PasswordTextBox); 2132c.Controls.Add(loginContainer.PasswordRequired); 2139c.Controls.Add(loginContainer.RememberMeCheckBox); 2147c.Controls.Add(loginContainer.FailureTextLabel); 2155c.Controls.Add(loginContainer.LinkButton); 2156c.Controls.Add(loginContainer.ImageButton); 2157c.Controls.Add(loginContainer.PushButton); 2164c.Controls.Add(loginContainer.CreateUserIcon); 2165c.Controls.Add(loginContainer.CreateUserLink); 2166c.Controls.Add(loginContainer.CreateUserLinkSeparator); 2167c.Controls.Add(loginContainer.PasswordRecoveryIcon); 2168c.Controls.Add(loginContainer.PasswordRecoveryLink); 2171c.Controls.Add(loginContainer.PasswordRecoveryLinkSeparator); 2172c.Controls.Add(loginContainer.HelpPageIcon); 2173c.Controls.Add(loginContainer.HelpPageLink); 2180c.Controls.Add(table); 2186loginContainer.Controls.Add(table2); 2198c.Controls.Add(loginContainer.Title); 2205c.Controls.Add(loginContainer.Instruction); 2214c.Controls.Add(loginContainer.UserNameLabel); 2220c.Controls.Add(loginContainer.UserNameTextBox); 2221c.Controls.Add(loginContainer.UserNameRequired); 2230c.Controls.Add(loginContainer.PasswordLabel); 2236c.Controls.Add(loginContainer.PasswordTextBox); 2237c.Controls.Add(loginContainer.PasswordRequired); 2243c.Controls.Add(loginContainer.RememberMeCheckBox); 2250c.Controls.Add(loginContainer.FailureTextLabel); 2257c.Controls.Add(loginContainer.LinkButton); 2258c.Controls.Add(loginContainer.ImageButton); 2259c.Controls.Add(loginContainer.PushButton); 2265c.Controls.Add(loginContainer.CreateUserIcon); 2266c.Controls.Add(loginContainer.CreateUserLink); 2268c.Controls.Add(loginContainer.CreateUserLinkSeparator); 2269c.Controls.Add(loginContainer.PasswordRecoveryIcon); 2270c.Controls.Add(loginContainer.PasswordRecoveryLink); 2272c.Controls.Add(loginContainer.PasswordRecoveryLinkSeparator); 2273c.Controls.Add(loginContainer.HelpPageIcon); 2274c.Controls.Add(loginContainer.HelpPageLink); 2281c.Controls.Add(table); 2287loginContainer.Controls.Add(table2);
UI\WebControls\LoginUtil.cs (4)
384ControlCollection controlsInCell = BorderTable.Rows[0].Cells[0].Controls; 400RenderControls(writer, Controls); 411foreach (Control child in Controls) { 412table[0, 0].Controls.Add(child);
UI\WebControls\LoginView.cs (1)
96return base.Controls;
UI\WebControls\Menu.cs (1)
193return base.Controls;
UI\WebControls\MenuRendererStandards.cs (1)
71Menu.Page.Header.Controls.Add(CreateStyleBlock());
UI\WebControls\MultiView.cs (2)
138return (ViewCollection)Controls; 167Controls.Add((Control)obj);
UI\WebControls\PasswordRecovery.cs (63)
2336c.Controls.Add(questionContainer.Title); 2344c.Controls.Add(questionContainer.Instruction); 2351c.Controls.Add(questionContainer.UserNameLabel); 2355c.Controls.Add(questionContainer.UserName); 2362c.Controls.Add(questionContainer.QuestionLabel); 2366c.Controls.Add(questionContainer.Question); 2373c.Controls.Add(questionContainer.AnswerLabel); 2380c.Controls.Add(questionContainer.AnswerTextBox); 2381c.Controls.Add(questionContainer.AnswerRequired); 2389c.Controls.Add(questionContainer.FailureTextLabel); 2397c.Controls.Add(questionContainer.LinkButton); 2398c.Controls.Add(questionContainer.ImageButton); 2399c.Controls.Add(questionContainer.PushButton); 2406c.Controls.Add(questionContainer.HelpPageIcon); 2407c.Controls.Add(questionContainer.HelpPageLink); 2414c.Controls.Add(table); 2420questionContainer.Controls.Add(table2); 2432c.Controls.Add(questionContainer.Title); 2439c.Controls.Add(questionContainer.Instruction); 2445c.Controls.Add(questionContainer.UserNameLabel); 2451c.Controls.Add(questionContainer.UserName); 2457c.Controls.Add(questionContainer.QuestionLabel); 2463c.Controls.Add(questionContainer.Question); 2469c.Controls.Add(questionContainer.AnswerLabel); 2478c.Controls.Add(questionContainer.AnswerTextBox); 2479c.Controls.Add(questionContainer.AnswerRequired); 2486c.Controls.Add(questionContainer.FailureTextLabel); 2493c.Controls.Add(questionContainer.LinkButton); 2494c.Controls.Add(questionContainer.ImageButton); 2495c.Controls.Add(questionContainer.PushButton); 2501c.Controls.Add(questionContainer.HelpPageIcon); 2502c.Controls.Add(questionContainer.HelpPageLink); 2509c.Controls.Add(table); 2515questionContainer.Controls.Add(table2); 2545c.Controls.Add(successContainer.SuccessTextLabel); 2553c.Controls.Add(table); 2559successContainer.Controls.Add(table2); 2649c.Controls.Add(userNameContainer.Title); 2657c.Controls.Add(userNameContainer.Instruction); 2664c.Controls.Add(userNameContainer.UserNameLabel); 2671c.Controls.Add(userNameContainer.UserNameTextBox); 2672c.Controls.Add(userNameContainer.UserNameRequired); 2680c.Controls.Add(userNameContainer.FailureTextLabel); 2688c.Controls.Add(userNameContainer.LinkButton); 2689c.Controls.Add(userNameContainer.ImageButton); 2690c.Controls.Add(userNameContainer.PushButton); 2697c.Controls.Add(userNameContainer.HelpPageIcon); 2698c.Controls.Add(userNameContainer.HelpPageLink); 2705c.Controls.Add(table); 2711userNameContainer.Controls.Add(table2); 2723c.Controls.Add(userNameContainer.Title); 2730c.Controls.Add(userNameContainer.Instruction); 2736c.Controls.Add(userNameContainer.UserNameLabel); 2745c.Controls.Add(userNameContainer.UserNameTextBox); 2746c.Controls.Add(userNameContainer.UserNameRequired); 2753c.Controls.Add(userNameContainer.FailureTextLabel); 2760c.Controls.Add(userNameContainer.LinkButton); 2761c.Controls.Add(userNameContainer.ImageButton); 2762c.Controls.Add(userNameContainer.PushButton); 2768c.Controls.Add(userNameContainer.HelpPageIcon); 2769c.Controls.Add(userNameContainer.HelpPageLink); 2776c.Controls.Add(table); 2782userNameContainer.Controls.Add(table2);
UI\WebControls\RadioButtonList.cs (1)
87Controls.Add(_controlToRepeat);
UI\WebControls\Repeater.cs (1)
204return base.Controls;
UI\WebControls\SiteMapPath.cs (3)
575item.Controls.Add(separatorLiteral); 582item.Controls.Add(currentNodeLiteral); 604item.Controls.Add(link);
UI\WebControls\TableCell.cs (1)
184Controls.Clear();
UI\WebControls\TableCellCollection.cs (14)
50return owner.Controls.Count; 66return(TableCell)owner.Controls[index]; 78return owner.Controls.Count - 1; 89owner.Controls.AddAt(index, cell); 111owner.Controls.Clear(); 122return owner.Controls.IndexOf(cell); 135return owner.Controls.GetEnumerator(); 188owner.Controls.Remove(cell); 199owner.Controls.RemoveAt(index); 207return owner.Controls[index]; 232return owner.Controls.Contains((TableCell)o); 238return owner.Controls.IndexOf((TableCell)o); 244owner.Controls.AddAt(index, (TableCell)o); 250owner.Controls.Remove((TableCell)o);
UI\WebControls\TableRowCollection.cs (12)
45return owner.Controls.Count; 60return(TableRow)owner.Controls[index]; 73return owner.Controls.Count - 1; 84owner.Controls.AddAt(index, row); 108owner.Controls.Clear(); 120return owner.Controls.IndexOf(row); 133return owner.Controls.GetEnumerator(); 183owner.Controls.Remove(row); 192owner.Controls.RemoveAt(index); 200return owner.Controls[index]; 225return owner.Controls.Contains((TableRow)o); 231return owner.Controls.IndexOf((TableRow)o);
UI\WebControls\Wizard.cs (34)
1518dictionary[_customNavigationControls] = customContainer.Controls; 1625step.Controls.Clear(); 1636step.Controls.Add(container); 2377container.Controls.Clear(); 2382container.Controls.Add(c); 2408container.Controls.Add(_startNavigationTemplateContainer); 2426container.Controls.Add(_stepNavigationTemplateContainer); 2444container.Controls.Add(_finishNavigationTemplateContainer); 2578var placeholderIndex = targetContainer.Controls.IndexOf(placeholder); 2579targetContainer.Controls.RemoveAt(placeholderIndex); 2581targetContainer.Controls.AddAt(placeholderIndex, replacement); 2784mainContentTable.Controls.Add(_navigationRow); 2785_navigationRow.Controls.Add(NavigationTableCell); 2795mainContentTable.Controls.Add(stepRow); 2798stepRow.Controls.Add(_stepTableCell); 2800_stepTableCell.Controls.Add(Owner.MultiView); 2807mainContentTable.Controls.Add(_headerTableRow); 2818_headerTableCell.Controls.Add(_titleLiteral); 2821_headerTableRow.Controls.Add(_headerTableCell); 2845outerTable.Controls.Add(outerRow); 2849outerRow.Controls.Add(outerLeftCell); 2860outerRow.Controls.Add(outerRightCell); 2868outerRightCell.Controls.Add(mainContentTable); 3042container.Controls.Add(table); 3097tableCell.Controls.Add(linkButton); 3098tableCell.Controls.Add(imageButton); 3099tableCell.Controls.Add(button); 3178container.Controls.Add(linkButton); 3209container.Controls.Add(sideBarListControl); 3226Controls.Add(_table); 3229_table.Controls.Add(row); 3234row.Controls.Add(_cell); 3317Controls.Clear(); 3322Container.Controls.Add(c);
UI\WebControls\xml.cs (1)
147return base.Controls;
UI\WebParts\CatalogZone.cs (1)
37foreach (Control control in container.Controls) {
UI\WebParts\DeclarativeCatalogPart.cs (4)
132Control[] controls = new Control[container.Controls.Count]; 133container.Controls.CopyTo(controls, 0); 148Control[] controls = new Control[userControl.Controls.Count]; 149userControl.Controls.CopyTo(controls, 0);
UI\WebParts\EditorZone.cs (1)
37foreach (Control control in container.Controls) {
UI\WebParts\Part.cs (1)
79return base.Controls;
UI\WebParts\ProxyWebPartManager.cs (1)
39return base.Controls;
UI\WebParts\RowToFieldTransformer.cs (3)
145s.Controls.Add(fieldNameLabel); 146s.Controls.Add(new LiteralControl(" ")); 147s.Controls.Add(_fieldName);
UI\WebParts\RowToParametersTransformer.cs (7)
253s.Controls.Add(new LiteralControl( 262s.Controls.Add(label); 264s.Controls.Add(new LiteralControl("<br />")); 311s.Controls.Add(consumerFieldNameLabel); 312s.Controls.Add(new LiteralControl(" ")); 313s.Controls.Add(consumerFieldName); 320s.Controls.Add(new LiteralControl(SR.GetString(SR.RowToParametersTransformer_NoProviderSchema)));
UI\WebParts\WebPartManager.cs (1)
284return base.Controls;
UI\WebParts\WebPartZone.cs (3)
79ControlCollection controls = container.Controls; 83Control[] children = new Control[control.Controls.Count]; 84control.Controls.CopyTo(children, 0);
System.Web.DataVisualization (2)
WebForm\General\ChartHttpHandler.cs (2)
621cell.Controls.Add(new Label() { Text = currentInfo.Verb + "," + currentInfo.Url }); 635cell.Controls.Add(grid);
System.Web.DynamicData (10)
DynamicData\DynamicControl.cs (1)
230Controls.Add(FieldTemplate);
DynamicData\DynamicEntity.cs (1)
101Controls.Add(entityTemplateControl);
DynamicData\DynamicField.cs (1)
231cell.Controls.Add(control);
DynamicData\DynamicFilter.cs (1)
113Controls.Add(_filterUserControl);
DynamicData\QueryableFilterRepeater.cs (1)
108Controls.Add(item);
DynamicData\SimpleFieldTemplateUserControl.cs (4)
52control.Controls.Add(checkBox); 63control.Controls.Add(literal); 77control.Controls.Add(textBox); 86_validators.ForEach(v => Controls.Add(v));
DynamicData\Util\Misc.cs (1)
270foreach (Control childControl in container.Controls) {
System.Web.Extensions (35)
UI\PageRequestManager.cs (1)
716foreach (Control control in containerControl.Controls) {
UI\UpdatePanel.cs (2)
116return base.Controls; 263ContentTemplateContainer.Controls.Clear();
UI\UpdateProgress.cs (1)
75return base.Controls;
UI\WebControls\DataPager.cs (1)
74return base.Controls;
UI\WebControls\ListView.cs (12)
229return base.Controls; 1361container.Controls.AddAt(addLocation, listViewTableRow); 1362listViewTableRow.Controls.Add(control); 1367container.Controls.AddAt(addLocation, listViewTableCell); 1368listViewTableCell.Controls.Add(control); 1371container.Controls.AddAt(addLocation, control); 2061foreach (Control c in control.Controls) { 2068foreach (Control c in control.Controls) { 2142placeholderIndex = placeholderContainer.Controls.IndexOf(placeholder); 2146placeholderContainer.Controls.Remove(placeholder); 3166_groupsGroupPlaceholderContainer.Controls.RemoveAt(_groupsOriginalIndexOfGroupPlaceholderInContainer); 3176_noGroupsItemPlaceholderContainer.Controls.RemoveAt(_noGroupsOriginalIndexOfItemPlaceholderInContainer);
UI\WebControls\NextPreviousPagerField.cs (9)
409container.Controls.Add(new LiteralControl("&nbsp;")); 542container.Controls.Add(CreateControl(DataControlCommands.FirstPageCommandArgument, FirstPageText, fieldIndex, FirstPageImageUrl, EnablePreviousPage)); 547container.Controls.Add(CreateControl(DataControlCommands.PreviousPageCommandArgument, PreviousPageText, fieldIndex, PreviousPageImageUrl, EnablePreviousPage)); 552container.Controls.Add(CreateControl(DataControlCommands.NextPageCommandArgument, NextPageText, fieldIndex, NextPageImageUrl, EnableNextPage)); 557container.Controls.Add(CreateControl(DataControlCommands.LastPageCommandArgument, LastPageText, fieldIndex, LastPageImageUrl, EnableNextPage)); 566container.Controls.Add(CreateLink(FirstPageText, 0, FirstPageImageUrl, EnablePreviousPage)); 572container.Controls.Add(CreateLink(PreviousPageText, pageIndex, PreviousPageImageUrl, EnablePreviousPage)); 578container.Controls.Add(CreateLink(NextPageText, pageIndex, NextPageImageUrl, EnableNextPage)); 584container.Controls.Add(CreateLink(LastPageText, pageIndex, LastPageImageUrl, EnableNextPage));
UI\WebControls\NumericPagerField.cs (9)
265container.Controls.Add(new LiteralControl("&nbsp;")); 420container.Controls.Add(CreateNextPrevButton(PreviousPageText, DataControlCommands.PreviousPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), PreviousPageImageUrl)); 431container.Controls.Add(pageNumber); 434container.Controls.Add(CreateNumericButton((i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture), fieldIndex.ToString(CultureInfo.InvariantCulture), (i + firstButtonIndex).ToString(CultureInfo.InvariantCulture))); 441container.Controls.Add(CreateNextPrevButton(NextPageText, DataControlCommands.NextPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), NextPageImageUrl)); 455container.Controls.Add(CreateNextPrevLink(PreviousPageText, firstButtonIndex - 1, PreviousPageImageUrl)); 466container.Controls.Add(pageNumber); 469container.Controls.Add(CreateNumericLink(i + firstButtonIndex)); 476container.Controls.Add(CreateNextPrevLink(NextPageText, firstButtonIndex + ButtonCount, NextPageImageUrl));
System.Web.Mobile (104)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (5)
115Control.Controls.Add(_selectList); 122Control.Controls.Add(_textBox); 127Control.Controls.Add(_command); 185Control.Controls.Contains(list)) 676Control.Controls.Add(list);
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (1)
85foreach (Control child in control.Controls)
UI\MobileControls\Adapters\ControlAdapter.cs (1)
180foreach (Control child in Control.Controls)
UI\MobileControls\Adapters\HtmlControlAdapter.cs (1)
249foreach (Control child in ctl.Controls)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (3)
180foreach(Control child in Control.Controls) 250foreach(Control childControl in form.Script.Controls) 507foreach (Control child in control.Controls)
UI\MobileControls\Adapters\HtmlValidationSummaryAdapter.cs (2)
55Control.Controls.Add(_list); 57Control.Controls.Add(_link);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (4)
104Control.Controls.Add(_selectList); 109Control.Controls.Add(_textBox); 167Control.Controls.Contains(list)) 653Control.Controls.Add(list);
UI\MobileControls\Adapters\WmlFormAdapter.cs (4)
95foreach(Control control in Control.Controls) 194foreach (Control child in control.Controls) 234foreach(Control childControl in form.Script.Controls) 318foreach (Control child in control.Controls)
UI\MobileControls\Adapters\WmlValidationSummaryAdapter.cs (2)
55Control.Controls.Add(_list); 57Control.Controls.Add(_link);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (5)
93Control.Controls.Add(_selectList); 100Control.Controls.Add(_textBox); 105Control.Controls.Add(_command); 159Control.Controls.Contains(list)) { 604Control.Controls.Add(list);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (1)
682foreach (Control child in control.Controls) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (2)
167foreach(Control child in Control.Controls) { 405foreach (Control child in control.Controls)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidationSummaryAdapter.cs (2)
44Control.Controls.Add(_list); 46Control.Controls.Add(_link);
UI\MobileControls\AdRotator.cs (2)
67this.Controls.Add(_webAdRotator); 68this.Controls.Add(_image);
UI\MobileControls\BaseValidator.cs (1)
56Controls.Add(_webBaseValidator);
UI\MobileControls\Calendar.cs (1)
57Controls.Add(_webCalendar);
UI\MobileControls\Design\BaseValidatorDesigner.cs (3)
60for (int i = _baseValidator.Controls.Count - 1; i >= 0; i--) 62Control child = _baseValidator.Controls[i]; 65_baseValidator.Controls.RemoveAt(i);
UI\MobileControls\Design\CommandDesigner.cs (3)
84children = new Control[_command.Controls.Count]; 85_command.Controls.CopyTo(children, 0); 103_command.Controls.Add(c);
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
128foreach (Control control in parent.Controls)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (1)
114foreach (System.Web.UI.Control control in _parentContainer.Controls)
UI\MobileControls\Design\LabelDesigner.cs (3)
87children = new Control[_label.Controls.Count]; 88_label.Controls.CopyTo(children, 0); 106_label.Controls.Add(c);
UI\MobileControls\Design\LinkDesigner.cs (3)
87children = new Control[_link.Controls.Count]; 88_link.Controls.CopyTo(children, 0); 106_link.Controls.Add(c);
UI\MobileControls\Design\ListDesigner.cs (1)
358_list.Controls.Clear();
UI\MobileControls\Design\MobileControlDesigner.cs (4)
372children = new Control[_mobileControl.Controls.Count]; 373_mobileControl.Controls.CopyTo(children, 0); 412_mobileControl.Controls.Add(c); 472_mobileControl.Controls.Clear();
UI\MobileControls\Design\MobileControlPersister.cs (2)
195PersistChildControls(sw, parentControl.Controls, host); 910PersistChildControls(sw, control.Controls, host);
UI\MobileControls\Design\ObjectListDesigner.cs (1)
171_objectList.Controls.Clear();
UI\MobileControls\Design\PhoneCallDesigner.cs (3)
88children = new Control[_call.Controls.Count]; 89_call.Controls.CopyTo(children, 0); 107_call.Controls.Add(c);
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
264foreach (Control control in RootControl.Controls)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
374foreach (System.Web.UI.Control child in control.Controls)
UI\MobileControls\Design\TextViewDesigner.cs (3)
92children = new Control[_textView.Controls.Count]; 93_textView.Controls.CopyTo(children, 0); 111_textView.Controls.Add(c);
UI\MobileControls\ErrorFormatterPage.cs (1)
131Controls.Add(form);
UI\MobileControls\Form.cs (2)
437Controls.AddAt(0, _headerContainer); 445Controls.Add(_footerContainer);
UI\MobileControls\List.cs (7)
218ChildControlsCreated = ChildControlsCreated && Controls.Count > 0; 226Controls.Clear(); 238Controls.Clear(); 295item.Controls.Clear(); 297Controls.Add(item); 329foreach(MobileListItem item in Controls) 592Controls.Clear();
UI\MobileControls\MobileControl.cs (9)
1019for (int i = Controls.Count - 1; i >= 0; i--) 1021Control child = Controls[i]; 1026Controls.RemoveAt(i); 1052foreach (Control child in Controls) 1282foreach (Control child in Controls) 1367foreach (Control child in ctl.Controls) 1393foreach (Control child in control.Controls) 1412foreach(Control child in control.Controls) { 1439foreach (Control child in ctl.Controls)
UI\MobileControls\MobilePage.cs (3)
222int probableFormCount = Controls.Count / 2; // since there are literal controls between each 232foreach (Control control in parent.Controls) 1331IEnumerator e = control.Controls.GetEnumerator();
UI\MobileControls\ObjectList.cs (10)
477ChildControlsCreated = ChildControlsCreated && Controls.Count > 0; 563Controls.Clear(); 574Controls.Clear(); 670item.Controls.Clear(); 672Controls.Add(item); 697Selection.Controls.Clear(); 704if (!Controls.Contains (Selection)) 706Controls.Add (Selection); 789foreach(Control ctl in Controls) 1524Controls.Clear();
UI\MobileControls\Panel.cs (2)
44foreach (Control child in Controls) 163Controls.AddAt(0, _deviceSpecificContents);
UI\MobileControls\StyleSheet.cs (2)
265Controls.Add(control); 267foreach (Control child in control.Controls)
UI\MobileControls\ValidationSummary.cs (1)
155foreach(Control control in parent.Controls)