7 writes to Mode
System.Web (7)
UI\WebControls\FormView.cs (7)
1299
Mode
= newMode;
1921
Mode
= e.NewMode;
2012
Mode
= e.NewMode;
2184
Mode
= eMode.NewMode;
2201
Mode
= e.NewMode;
2322
Mode
= eMode.NewMode;
2468
Mode
= (FormViewMode)state[3];
14 references to Mode
System.Web (14)
UI\WebControls\FormView.cs (14)
311
return
Mode
;
932
if (
Mode
== FormViewMode.Insert && !DesignMode) {
1314
FormViewMode mode =
Mode
;
1507
switch (
Mode
) {
1532
FormViewMode mode =
Mode
;
1854
if (RequiresDataBinding &&
Mode
== FormViewMode.Insert) {
1886
if (
Mode
== FormViewMode.ReadOnly && ItemTemplate != null) {
1888
} else if ((
Mode
== FormViewMode.Edit || (
Mode
== FormViewMode.Insert && InsertItemTemplate == null)) && EditItemTemplate != null) {
1890
} else if (
Mode
== FormViewMode.Insert && InsertItemTemplate != null) {
2127
if (
Mode
!= FormViewMode.Insert) {
2246
if (
Mode
!= FormViewMode.Edit) {
2758
if (IsDataBindingAutomatic &&
Mode
== FormViewMode.Edit && IsViewStateEnabled) {
3073
switch (
Mode
) {