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