44 references to DetailsViewMode
System.Web (44)
UI\WebControls\DetailsView.cs (41)
91
private
DetailsViewMode
_defaultMode =
DetailsViewMode
.ReadOnly;
92
private
DetailsViewMode
_mode;
485
public
DetailsViewMode
CurrentMode {
498
if (CurrentMode ==
DetailsViewMode
.Insert) {
521
if (CurrentMode ==
DetailsViewMode
.Insert) {
591
DefaultValue(
DetailsViewMode
.ReadOnly),
594
public virtual
DetailsViewMode
DefaultMode {
599
if (value <
DetailsViewMode
.ReadOnly || value >
DetailsViewMode
.Insert) {
1027
private
DetailsViewMode
Mode {
1037
if (value <
DetailsViewMode
.ReadOnly || value >
DetailsViewMode
.Insert) {
1095
if (Mode ==
DetailsViewMode
.Insert && !DesignMode) {
1495
public void ChangeMode(
DetailsViewMode
newMode) {
1539
DetailsViewMode
mode = Mode;
1542
if (DesignMode && mode ==
DetailsViewMode
.Insert) {
1554
if (mode !=
DetailsViewMode
.Insert) {
1586
if (mode !=
DetailsViewMode
.Insert) {
1607
if (mode !=
DetailsViewMode
.Insert) {
1636
if (!moveNextSucceeded && mode !=
DetailsViewMode
.Insert) {
1682
if (allowPaging && PagerSettings.Visible && _pagerSettings.IsPagerOnTop && !singlePage && mode !=
DetailsViewMode
.Insert) {
1710
if (allowPaging && PagerSettings.Visible && _pagerSettings.IsPagerOnBottom && !singlePage && mode !=
DetailsViewMode
.Insert) {
1758
DetailsViewMode
mode = Mode;
1760
if (mode ==
DetailsViewMode
.Edit)
1762
else if (mode ==
DetailsViewMode
.Insert)
2180
if (RequiresDataBinding && Mode ==
DetailsViewMode
.Insert && (!AutoGenerateRows || (AutoGenerateRows && RowsGenerator != null))) {
2374
DetailsViewModeEventArgs e = new DetailsViewModeEventArgs(
DetailsViewMode
.Edit, false);
2496
if (Mode !=
DetailsViewMode
.Insert) {
2561
DetailsViewModeEventArgs e = new DetailsViewModeEventArgs(
DetailsViewMode
.Insert, false);
2616
if (Mode !=
DetailsViewMode
.Edit) {
2821
_defaultMode =
DetailsViewMode
.ReadOnly;
2834
_defaultMode = (
DetailsViewMode
)state[2];
2840
Mode = (
DetailsViewMode
)state[3];
3212
if (IsDataBindingAutomatic && Mode ==
DetailsViewMode
.Edit && IsViewStateEnabled) {
3315
(Mode ==
DetailsViewMode
.Insert && !field.InsertVisible)) {
3433
_defaultMode !=
DetailsViewMode
.ReadOnly ||
3449
if (_defaultMode !=
DetailsViewMode
.ReadOnly) {
3646
case
DetailsViewMode
.Edit:
3648
case
DetailsViewMode
.Insert:
3650
case
DetailsViewMode
.ReadOnly:
UI\WebControls\DetailsViewModeEventArgs.cs (3)
17
private
DetailsViewMode
_mode;
24
public DetailsViewModeEventArgs(
DetailsViewMode
mode, bool cancelingEdit) : base(false) {
44
public
DetailsViewMode
NewMode {