1 write to _occasionalFields
System.Web (1)
UI\Control.cs (1)
678
_occasionalFields
= new OccasionalFields();
104 references to _occasionalFields
System.Web (104)
UI\Control.cs (104)
235
if (
_occasionalFields
== null ||
236
_occasionalFields
.RareFields == null ||
237
_occasionalFields
.RareFields.Adapter == null) {
240
return
_occasionalFields
.RareFields.Adapter;
247
if (
_occasionalFields
!= null &&
248
_occasionalFields
.RareFields != null &&
249
_occasionalFields
.RareFields.Adapter != null) {
250
_occasionalFields
.RareFields.Adapter = null;
633
if(
_occasionalFields
!= null) {
634
return
_occasionalFields
.SkinId == null ? String.Empty :
_occasionalFields
.SkinId;
650
_occasionalFields
.SkinId = value;
657
ControlRareFields rareFields =
_occasionalFields
.RareFields;
660
_occasionalFields
.RareFields = rareFields;
669
if(
_occasionalFields
!= null) {
670
return
_occasionalFields
.RareFields;
677
if(
_occasionalFields
== null) {
916
if (
_occasionalFields
== null ||
917
_occasionalFields
.RareFields == null ||
918
_occasionalFields
.RareFields.RouteCollection == null) {
921
return
_occasionalFields
.RareFields.RouteCollection;
928
if (
_occasionalFields
!= null &&
929
_occasionalFields
.RareFields != null &&
930
_occasionalFields
.RareFields.RouteCollection != null) {
931
_occasionalFields
.RareFields.RouteCollection = null;
981
if (
_occasionalFields
== null ||
982
_occasionalFields
.RareFields == null ||
983
_occasionalFields
.RareFields.RenderingCompatibility == null) {
986
return
_occasionalFields
.RareFields.RenderingCompatibility;
993
if (
_occasionalFields
!= null &&
994
_occasionalFields
.RareFields != null &&
995
_occasionalFields
.RareFields.RenderingCompatibility != null) {
996
_occasionalFields
.RareFields.RenderingCompatibility = null;
1047
if (
_occasionalFields
== null ||
_occasionalFields
.TemplateControl == null) {
1052
_occasionalFields
.TemplateControl = templateControl;
1056
return (
_occasionalFields
!= null) ?
_occasionalFields
.TemplateControl : null;
1081
_occasionalFields
.TemplateControl = value;
1084
if (
_occasionalFields
!= null &&
1085
_occasionalFields
.TemplateControl != null) {
1086
_occasionalFields
.TemplateControl = null;
1174
if (
_occasionalFields
!= null &&
_occasionalFields
.TemplateSourceVirtualDirectory != null)
1175
return
_occasionalFields
.TemplateSourceVirtualDirectory;
1184
_occasionalFields
.TemplateSourceVirtualDirectory = templateSourceVirtualDirectory;
1187
return (
_occasionalFields
!= null) ?
_occasionalFields
.TemplateSourceVirtualDirectory : null;
1194
_occasionalFields
.TemplateSourceVirtualDirectory = templateSourceVirtualDirectory;
1197
return (
_occasionalFields
!= null) ?
_occasionalFields
.TemplateSourceVirtualDirectory : null;
1204
_occasionalFields
.TemplateSourceVirtualDirectory = value;
1207
if (
_occasionalFields
!= null &&
1208
_occasionalFields
.TemplateSourceVirtualDirectory != null) {
1209
_occasionalFields
.TemplateSourceVirtualDirectory = null;
1623
if (
_occasionalFields
!= null) {
1624
_occasionalFields
.UniqueIDPrefix = null;
1654
int idNo = _namingContainer.
_occasionalFields
.NamedControlsID++;
1674
if (
_occasionalFields
.UniqueIDPrefix == null) {
1677
_occasionalFields
.UniqueIDPrefix = uniqueID + IdSeparator;
1680
_occasionalFields
.UniqueIDPrefix = String.Empty;
1684
return
_occasionalFields
.UniqueIDPrefix;
1900
if(
_occasionalFields
!= null) {
1901
_occasionalFields
.ControlsViewState = null;
1931
return ((
_occasionalFields
!= null) &&
1932
(
_occasionalFields
.ControlsViewState != null) &&
1933
(
_occasionalFields
.ControlsViewState.Count > 0));
2078
if (
_occasionalFields
.ControlsViewState == null) {
2079
_occasionalFields
.ControlsViewState = new Hashtable();
2081
_occasionalFields
.ControlsViewState[controlId] = state;
2104
if (
_occasionalFields
.ControlsViewState == null) {
2105
_occasionalFields
.ControlsViewState = new Hashtable();
2107
_occasionalFields
.ControlsViewState[controlIndex] = state;
2671
if (
_occasionalFields
!= null) {
2672
_occasionalFields
.Dispose();
2910
if(
_occasionalFields
!= null &&
_occasionalFields
.ControlsViewState != null) {
2911
viewState =
_occasionalFields
.ControlsViewState[index];
2920
viewState =
_occasionalFields
.ControlsViewState[control.ID];
2921
_occasionalFields
.ControlsViewState.Remove(control.ID);
2924
viewState =
_occasionalFields
.ControlsViewState[index];
2925
_occasionalFields
.ControlsViewState.Remove(index);
3065
if(
_occasionalFields
!= null) {
3066
_occasionalFields
.NamedControls = null;
3073
Debug.Assert(
_occasionalFields
!= null);
3074
Debug.Assert(
_occasionalFields
.NamedControls == null);
3076
_occasionalFields
.NamedControls = new HybridDictionary(/*initialSize*/
_occasionalFields
.NamedControlsID, /*caseInsensitive*/ true);
3081
Debug.Assert(namingContainer.
_occasionalFields
!= null);
3082
Debug.Assert(namingContainer.
_occasionalFields
.NamedControls != null);
3096
namingContainer.
_occasionalFields
.NamedControls.Add(control._id, control);
3148
if (
_occasionalFields
.NamedControls == null) {
3152
if (
_occasionalFields
== null ||
_occasionalFields
.NamedControls == null) {
3165
return
_occasionalFields
.NamedControls[childID] as Control;
3170
Control child =
_occasionalFields
.NamedControls[childID] as Control;
3199
_occasionalFields
.NamedControlsID = 0;
3348
if (control.
_occasionalFields
!= null) {
3349
control.
_occasionalFields
.TemplateSourceVirtualDirectory = null;
3353
if (control.
_occasionalFields
!= null ) {
3354
control.
_occasionalFields
.TemplateControl = null;
3432
if (
_occasionalFields
.SpacerImageUrl == null) {
3433
_occasionalFields
.SpacerImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(WebControl), "Spacer.gif");
3435
return
_occasionalFields
.SpacerImageUrl;