217 references to ViewState
System.Web (193)
UI\WebControls\AutoGeneratedField.cs (2)
54
object o =
ViewState
["DataType"];
61
ViewState
["DataType"] = value;
UI\WebControls\BoundField.cs (24)
73
object o =
ViewState
["ApplyFormatInEditMode"];
80
ViewState
["ApplyFormatInEditMode"] = value;
96
object o =
ViewState
["ConvertEmptyStringToNull"];
103
ViewState
["ConvertEmptyStringToNull"] = value;
120
object o =
ViewState
["DataField"];
129
if (!String.Equals(value,
ViewState
["DataField"])) {
130
ViewState
["DataField"] = value;
150
object o =
ViewState
["DataFormatString"];
159
if (!String.Equals(value,
ViewState
["DataFormatString"])) {
160
ViewState
["DataFormatString"] = value;
177
if (!String.Equals(value,
ViewState
["HeaderText"])) {
178
ViewState
["HeaderText"] = value;
197
object o =
ViewState
["HtmlEncode"];
209
object oldValue =
ViewState
["HtmlEncode"];
211
ViewState
["HtmlEncode"] = value;
230
object o =
ViewState
["HtmlEncodeFormatString"];
242
object oldValue =
ViewState
["HtmlEncodeFormatString"];
244
ViewState
["HtmlEncodeFormatString"] = value;
262
object o =
ViewState
["NullDisplayText"];
269
if (!String.Equals(value,
ViewState
["NullDisplayText"])) {
270
ViewState
["NullDisplayText"] = value;
288
object o =
ViewState
["ReadOnly"];
294
object oldValue =
ViewState
["ReadOnly"];
296
ViewState
["ReadOnly"] = value;
UI\WebControls\ButtonField.cs (15)
44
object o =
ViewState
["CommandName"];
50
if (!String.Equals(value,
ViewState
["CommandName"])) {
51
ViewState
["CommandName"] = value;
70
object o =
ViewState
["DataTextField"];
76
if (!String.Equals(value,
ViewState
["DataTextField"])) {
77
ViewState
["DataTextField"] = value;
95
object o =
ViewState
["DataTextFormatString"];
101
if (!String.Equals(value,
ViewState
["DataTextFormatString"])) {
102
ViewState
["DataTextFormatString"] = value;
118
object o =
ViewState
["ImageUrl"];
125
if (!String.Equals(value,
ViewState
["ImageUrl"])) {
126
ViewState
["ImageUrl"] = value;
145
object o =
ViewState
["Text"];
151
if (!String.Equals(value,
ViewState
["Text"])) {
152
ViewState
["Text"] = value;
UI\WebControls\ButtonFieldBase.cs (12)
30
object o =
ViewState
["ButtonType"];
39
object oldValue =
ViewState
["ButtonType"];
41
ViewState
["ButtonType"] = value;
55
object o =
ViewState
["CausesValidation"];
62
object oldValue =
ViewState
["CausesValidation"];
64
ViewState
["CausesValidation"] = value;
78
object o =
ViewState
["ShowHeader"];
85
object oldValue =
ViewState
["ShowHeader"];
87
ViewState
["ShowHeader"] = value;
101
object o =
ViewState
["ValidationGroup"];
108
if (!String.Equals(value,
ViewState
["ValidationGroup"])) {
109
ViewState
["ValidationGroup"] = value;
UI\WebControls\CheckBoxField.cs (3)
177
object o =
ViewState
["Text"];
183
if (!String.Equals(value,
ViewState
["Text"])) {
184
ViewState
["Text"] = value;
UI\WebControls\CommandField.cs (58)
39
object o =
ViewState
["CancelImageUrl"];
46
if (!String.Equals(value,
ViewState
["CancelImageUrl"])) {
47
ViewState
["CancelImageUrl"] = value;
66
object text =
ViewState
["CancelText"];
70
if (!String.Equals(value,
ViewState
["CancelText"])) {
71
ViewState
["CancelText"] = value;
85
object o =
ViewState
["CausesValidation"];
106
object o =
ViewState
["DeleteImageUrl"];
113
if (!String.Equals(value,
ViewState
["DeleteImageUrl"])) {
114
ViewState
["DeleteImageUrl"] = value;
133
object text =
ViewState
["DeleteText"];
137
if (!String.Equals(value,
ViewState
["DeleteText"])) {
138
ViewState
["DeleteText"] = value;
154
object o =
ViewState
["EditImageUrl"];
161
if (!String.Equals(value,
ViewState
["EditImageUrl"])) {
162
ViewState
["EditImageUrl"] = value;
181
object text =
ViewState
["EditText"];
185
if (!String.Equals(value,
ViewState
["EditText"])) {
186
ViewState
["EditText"] = value;
202
object o =
ViewState
["InsertImageUrl"];
209
if (!String.Equals(value,
ViewState
["InsertImageUrl"])) {
210
ViewState
["InsertImageUrl"] = value;
229
object text =
ViewState
["InsertText"];
233
if (!String.Equals(value,
ViewState
["InsertText"])) {
234
ViewState
["InsertText"] = value;
250
object o =
ViewState
["NewImageUrl"];
257
if (!String.Equals(value,
ViewState
["NewImageUrl"])) {
258
ViewState
["NewImageUrl"] = value;
277
object text =
ViewState
["NewText"];
281
if (!String.Equals(value,
ViewState
["NewText"])) {
282
ViewState
["NewText"] = value;
298
object o =
ViewState
["SelectImageUrl"];
305
if (!String.Equals(value,
ViewState
["SelectImageUrl"])) {
306
ViewState
["SelectImageUrl"] = value;
325
object text =
ViewState
["SelectText"];
329
if (!String.Equals(value,
ViewState
["SelectText"])) {
330
ViewState
["SelectText"] = value;
344
object o =
ViewState
["ShowCancelButton"];
351
object oldValue =
ViewState
["ShowCancelButton"];
353
ViewState
["ShowCancelButton"] = value;
367
object o =
ViewState
["ShowDeleteButton"];
374
object oldValue =
ViewState
["ShowDeleteButton"];
376
ViewState
["ShowDeleteButton"] = value;
390
object o =
ViewState
["ShowEditButton"];
397
object oldValue =
ViewState
["ShowEditButton"];
399
ViewState
["ShowEditButton"] = value;
413
object o =
ViewState
["ShowSelectButton"];
420
object oldValue =
ViewState
["ShowSelectButton"];
422
ViewState
["ShowSelectButton"] = value;
436
object o =
ViewState
["ShowInsertButton"];
443
object oldValue =
ViewState
["ShowInsertButton"];
445
ViewState
["ShowInsertButton"] = value;
461
object o =
ViewState
["UpdateImageUrl"];
468
if (!String.Equals(value,
ViewState
["UpdateImageUrl"])) {
469
ViewState
["UpdateImageUrl"] = value;
488
object text =
ViewState
["UpdateText"];
492
if (!String.Equals(value,
ViewState
["UpdateText"])) {
493
ViewState
["UpdateText"] = value;
UI\WebControls\DataControlField.cs (29)
58
object o =
ViewState
["AccessibleHeaderText"];
64
if (!String.Equals(value,
ViewState
["AccessibleHeaderText"])) {
65
ViewState
["AccessibleHeaderText"] = value;
100
object o =
ViewState
["ValidateRequestMode"];
110
ViewState
["ValidateRequestMode"] = value;
184
object o =
ViewState
["FooterText"];
190
if (!String.Equals(value,
ViewState
["FooterText"])) {
191
ViewState
["FooterText"] = value;
212
object o =
ViewState
["HeaderImageUrl"];
218
if (!String.Equals(value,
ViewState
["HeaderImageUrl"])) {
219
ViewState
["HeaderImageUrl"] = value;
268
object o =
ViewState
["HeaderText"];
274
if (!String.Equals(value,
ViewState
["HeaderText"])) {
275
ViewState
["HeaderText"] = value;
291
object o =
ViewState
["InsertVisible"];
297
object oldValue =
ViewState
["InsertVisible"];
299
ViewState
["InsertVisible"] = value;
343
object o =
ViewState
["ShowHeader"];
350
object oldValue =
ViewState
["ShowHeader"];
352
ViewState
["ShowHeader"] = value;
370
object o =
ViewState
["SortExpression"];
376
if (!String.Equals(value,
ViewState
["SortExpression"])) {
377
ViewState
["SortExpression"] = value;
404
object o =
ViewState
["Visible"];
410
object oldValue =
ViewState
["Visible"];
412
ViewState
["Visible"] = value;
572
((IStateManager)
ViewState
).LoadViewState(myState[0]);
597
object propState = ((IStateManager)
ViewState
).SaveViewState();
653
((IStateManager)
ViewState
).TrackViewState();
UI\WebControls\HyperLinkField.cs (22)
46
object o =
ViewState
["DataNavigateUrlFields"];
54
string[] oldValue =
ViewState
["DataNavigateUrlFields"] as string[];
57
ViewState
["DataNavigateUrlFields"] = (string[])value.Clone();
60
ViewState
["DataNavigateUrlFields"] = null;
78
object o =
ViewState
["DataNavigateUrlFormatString"];
84
if (!String.Equals(value,
ViewState
["DataNavigateUrlFormatString"])) {
85
ViewState
["DataNavigateUrlFormatString"] = value;
104
object o =
ViewState
["DataTextField"];
110
if (!String.Equals(value,
ViewState
["DataTextField"])) {
111
ViewState
["DataTextField"] = value;
129
object o =
ViewState
["DataTextFormatString"];
135
if (!String.Equals(value,
ViewState
["DataTextFormatString"])) {
136
ViewState
["DataTextFormatString"] = value;
155
object o =
ViewState
["NavigateUrl"];
161
if (!String.Equals(value,
ViewState
["NavigateUrl"])) {
162
ViewState
["NavigateUrl"] = value;
181
object o =
ViewState
["Target"];
187
if (!String.Equals(value,
ViewState
["Target"])) {
188
ViewState
["Target"] = value;
206
object o =
ViewState
["Text"];
212
if (!String.Equals(value,
ViewState
["Text"])) {
213
ViewState
["Text"] = value;
UI\WebControls\ImageField.cs (26)
46
object o =
ViewState
["AlternateText"];
53
if (!String.Equals(value,
ViewState
["AlternateText"])) {
54
ViewState
["AlternateText"] = value;
71
object o =
ViewState
["ConvertEmptyStringToNull"];
78
ViewState
["ConvertEmptyStringToNull"] = value;
90
object o =
ViewState
["DataAlternateTextField"];
97
if (!String.Equals(value,
ViewState
["DataAlternateTextField"])) {
98
ViewState
["DataAlternateTextField"] = value;
115
object o =
ViewState
["DataAlternateTextFormatString"];
121
if (!String.Equals(value,
ViewState
["DataAlternateTextFormatString"])) {
122
ViewState
["DataAlternateTextFormatString"] = value;
140
object o =
ViewState
["DataImageUrlField"];
149
if (!String.Equals(value,
ViewState
["DataImageUrlField"])) {
150
ViewState
["DataImageUrlField"] = value;
164
object o =
ViewState
["DataImageUrlFormatString"];
171
if (!String.Equals(value,
ViewState
["DataImageUrlFormatString"])) {
172
ViewState
["DataImageUrlFormatString"] = value;
190
object o =
ViewState
["NullDisplayText"];
197
if (!String.Equals(value,
ViewState
["NullDisplayText"])) {
198
ViewState
["NullDisplayText"] = value;
213
object o =
ViewState
["NullImageUrl"];
220
if (!String.Equals(value,
ViewState
["NullImageUrl"])) {
221
ViewState
["NullImageUrl"] = value;
238
object o =
ViewState
["ReadOnly"];
244
object oldValue =
ViewState
["ReadOnly"];
246
ViewState
["ReadOnly"] = value;
UI\WebControls\TemplateField.cs (2)
90
object o =
ViewState
["ConvertEmptyStringToNull"];
97
ViewState
["ConvertEmptyStringToNull"] = value;
System.Web.DynamicData (24)
DynamicData\DynamicField.cs (24)
29
object o =
ViewState
["HeaderText"];
50
object o =
ViewState
["SortExpression"];
93
object o =
ViewState
["ReadOnly"];
97
ViewState
["ReadOnly"] = value;
111
object o =
ViewState
["DataField"];
115
if (!String.Equals(value,
ViewState
["DataField"])) {
116
ViewState
["DataField"] = value;
153
object o =
ViewState
["UIHint"];
157
if (!String.Equals(value,
ViewState
["UIHint"])) {
158
ViewState
["UIHint"] = value;
174
object o =
ViewState
["ValidationGroup"];
178
if (!String.Equals(value,
ViewState
["ValidationGroup"])) {
179
ViewState
["ValidationGroup"] = value;
213
if (
ViewState
["HtmlEncode"] == null) {
328
object o =
ViewState
["ConvertEmptyStringToNull"];
333
ViewState
["ConvertEmptyStringToNull"] = value;
347
object o =
ViewState
["ApplyFormatInEditMode"];
352
ViewState
["ApplyFormatInEditMode"] = value;
366
object o =
ViewState
["DataFormatString"];
370
ViewState
["DataFormatString"] = value;
384
object o =
ViewState
["HtmlEncode"];
388
ViewState
["HtmlEncode"] = value;
402
object o =
ViewState
["NullDisplayText"];
406
ViewState
["NullDisplayText"] = value;