113 references to Parent
System.Web (47)
UI\Control.cs (23)
462
else if (
Parent
!= null) {
463
if(
Parent
.DesignMode) {
581
if (
Parent
!= null) {
582
return
Parent
.EnableTheming;
761
current = current.
Parent
;
780
if (
Parent
!= null) {
782
if (
Parent
.flags[isNamingContainer])
783
_namingContainer =
Parent
;
785
_namingContainer =
Parent
.NamingContainer;
895
if (
Parent
!= null) {
896
_page =
Parent
.Page;
909
Debug.Assert(
Parent
== null ||
Parent
.Page == null);
1048
if (
Parent
!= null) {
1049
TemplateControl templateControl =
Parent
.GetTemplateControl();
1097
while (current != ancestor && current.
Parent
!= null) {
1098
current = current.
Parent
;
1121
Control parent =
Parent
;
1126
parent = parent.
Parent
;
2734
Control currentTarget =
Parent
;
2739
currentTarget = currentTarget.
Parent
;
2811
c = c.
Parent
;
3542
_parent = owner.
Parent
;
UI\Page.cs (1)
1523
if (
Parent
== null)
UI\UserControl.cs (1)
204
BasePartialCachingControl pcc =
Parent
as BasePartialCachingControl;
UI\WebControls\ChildTable.cs (1)
76
parent = parent.
Parent
;
UI\WebControls\CreateUserWizard.cs (2)
2910
previousButton.
Parent
.Visible = false;
2931
cancelButton.
Parent
.Visible = false;
UI\WebControls\DataControlLinkButton.cs (1)
87
control = control.
Parent
;
UI\WebControls\DataControlPagerLinkButton.cs (1)
44
control = control.
Parent
;
UI\WebControls\DataGridLinkButton.cs (1)
40
control = control.
Parent
;
UI\WebControls\DataListItem.cs (1)
152
Parent
.ID, itemType.ToString()));
UI\WebControls\LoginUtil.cs (4)
196
Control parent = control.
Parent
;
205
Control parent = control.
Parent
;
419
string parentID =
Parent
.ID;
421
table.ID =
Parent
.ClientID;
UI\WebControls\MultiView.cs (1)
281
if (view != null && view.
Parent
== this) {
UI\WebControls\Substitution.cs (2)
84
Control parent =
Parent
;
90
parent = parent.
Parent
;
UI\WebControls\TableRow.cs (1)
102
Control parent =
Parent
;
UI\WebControls\View.cs (2)
105
if (
Parent
== null) {
108
return Active &&
Parent
.Visible;
UI\WebControls\WebControl.cs (1)
442
current = current.
Parent
;
UI\WebControls\Wizard.cs (2)
2021
Control parent = c.
Parent
;
2181
ctrl.
Parent
.Visible = false;
UI\WebParts\WebPartManager.cs (1)
2526
Control parent = control.
Parent
;
UI\WebParts\WebZone.cs (1)
555
Control parent =
Parent
;
System.Web.DynamicData (2)
DynamicData\FieldTemplateUserControl.cs (2)
289
Control parentControl = TemplateControl.
Parent
;
300
return
Parent
.FindFieldTemplate(columnName) as FieldTemplateUserControl;
System.Web.Extensions (12)
UI\ExtenderControl.cs (2)
107
Control parent = control.
Parent
;
113
parent = parent.
Parent
;
UI\PageRequestManager.cs (2)
539
Control parent = panel.
Parent
;
551
parent = parent.
Parent
;
UI\ScriptControlManager.cs (2)
125
for (Control parent = targetControl.
Parent
; parent != null; parent = parent.
Parent
) {
UI\ScriptRegistrationManager.cs (3)
163
child = child.
Parent
;
290
Control parent = control.
Parent
;
297
parent = parent.
Parent
;
UI\UpdatePanel.cs (2)
372
Control parent =
Parent
;
380
parent = parent.
Parent
;
UI\WebControls\ListView.cs (1)
2141
Control placeholderContainer = placeholder.
Parent
;
System.Web.Mobile (52)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
947
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
535
for (Control i = descendant; i != null; i = i.
Parent
)
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (1)
356
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\HtmlTextBoxAdapter.cs (1)
116
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
919
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (1)
289
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\WmlTextBoxAdapter.cs (1)
138
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
840
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (3)
204
Control ctl = control.
Parent
as MobileControl;
218
ctl = ctl.
Parent
as MobileControl;
273
for (Control i = descendant; i != null; i = i.
Parent
) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (1)
290
ctl = ctl.
Parent
;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (1)
107
ctl = ctl.
Parent
;
UI\MobileControls\BaseValidator.cs (2)
281
Control parent =
Parent
;
289
parent = parent.
Parent
;
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (9)
61
Control parent = control.
Parent
;
132
if (control.
Parent
== null)
138
ControlDesigner(control.
Parent
) as TemplatedControlDesigner;
142
return InTemplateFrame(control.
Parent
);
212
Control parent = control.
Parent
;
225
parent = parent.
Parent
;
290
IDesigner parentDesigner = ControlDesigner(control.
Parent
);
331
Debug.Assert(control.
Parent
is MobileControl);
332
Style parentStyle = ((MobileControl) control.
Parent
).Style;
UI\MobileControls\Design\Converters\FormConverter.cs (1)
41
for (Control control = mc; control != null; control = control.
Parent
)
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
35
for (Control control = mc; control != null; control = control.
Parent
)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (2)
265
Debug.Assert(_ds.
Parent
!= null, "_ds.Parent is null");
272
System.Web.UI.Control parentContainer = _ds.
Parent
;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
373
if (_control.
Parent
is Panel)
375
((Panel)_control.
Parent
).Style.ApplyTo(style);
UI\MobileControls\Design\StyleSheetDesigner.cs (4)
390
if (!(_styleSheet.
Parent
is MobilePage
391
|| _styleSheet.
Parent
is MobileUserControl))
411
else if (_styleSheet.
Parent
is MobilePage ||
412
_styleSheet.
Parent
is MobileUserControl)
UI\MobileControls\Form.cs (3)
346
for (Control control = this.
Parent
; control != null; control = control.
Parent
)
609
control = control.
Parent
;
UI\MobileControls\MobileControl.cs (4)
139
for (Control control = this; control != null; control = control.
Parent
)
194
for (Control ctl = this; ctl != null; ctl = ctl.
Parent
)
321
control = control.
Parent
;
1495
for (MobileControl c = parent; c != null; c = c.
Parent
as MobileControl)
UI\MobileControls\PagedControl.cs (1)
288
for (Control ctl = this; ctl != null; ctl = ctl.
Parent
)
UI\MobileControls\Style.cs (9)
427
if (_control.
Parent
is MobileControl)
429
parentStyle = ((MobileControl)_control.
Parent
).Style;
436
_control.
Parent
is DeviceSpecific &&
437
_control.
Parent
.
Parent
is MobileControl)
439
parentStyle = ((MobileControl)_control.
Parent
.
Parent
).Style;
443
Control _tempControl = _control.
Parent
;
446
_tempControl = _tempControl.
Parent
;
UI\MobileControls\StyleSheet.cs (1)
244
TemplateControl parent = (TemplateControl)
Parent
;