108 references to DataControlCommands
System.Web (89)
UI\WebControls\CommandField.cs (8)
600
AddButtonToCell(cell,
DataControlCommands
.UpdateCommandName, UpdateText, causesValidation, validationGroup, rowIndex, UpdateImageUrl);
604
AddButtonToCell(cell,
DataControlCommands
.CancelCommandName, CancelText, false, String.Empty, rowIndex, CancelImageUrl);
609
AddButtonToCell(cell,
DataControlCommands
.InsertCommandName, InsertText, causesValidation, validationGroup, rowIndex, InsertImageUrl);
613
AddButtonToCell(cell,
DataControlCommands
.CancelCommandName, CancelText, false, String.Empty, rowIndex, CancelImageUrl);
619
AddButtonToCell(cell,
DataControlCommands
.EditCommandName, EditText, false, String.Empty, rowIndex, EditImageUrl);
627
AddButtonToCell(cell,
DataControlCommands
.DeleteCommandName, DeleteText, false, String.Empty, rowIndex, DeleteImageUrl);
635
AddButtonToCell(cell,
DataControlCommands
.NewCommandName, NewText, false, String.Empty, rowIndex, NewImageUrl);
643
AddButtonToCell(cell,
DataControlCommands
.SelectCommandName, SelectText, false, String.Empty, rowIndex, SelectImageUrl);
UI\WebControls\DataControlField.cs (2)
486
sortButton.CommandName =
DataControlCommands
.SortCommandName;
515
sortButton.CommandName =
DataControlCommands
.SortCommandName;
UI\WebControls\DetailsView.cs (26)
1881
firstButton.CommandName =
DataControlCommands
.PageCommandName;
1882
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
1900
prevButton.CommandName =
DataControlCommands
.PageCommandName;
1901
prevButton.CommandArgument =
DataControlCommands
.PreviousPageCommandArgument;
1920
nextButton.CommandName =
DataControlCommands
.PageCommandName;
1921
nextButton.CommandArgument =
DataControlCommands
.NextPageCommandArgument;
1940
lastButton.CommandName =
DataControlCommands
.PageCommandName;
1941
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
2009
firstButton.CommandName =
DataControlCommands
.PageCommandName;
2010
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
2020
button.CommandName =
DataControlCommands
.PageCommandName;
2040
button.CommandName =
DataControlCommands
.PageCommandName;
2053
button.CommandName =
DataControlCommands
.PageCommandName;
2076
lastButton.CommandName =
DataControlCommands
.PageCommandName;
2077
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
2407
if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.PageCommandName)) {
2410
if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.NextPageCommandArgument)) {
2412
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.PreviousPageCommandArgument)) {
2414
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.FirstPageCommandArgument)) {
2416
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.LastPageCommandArgument)) {
2423
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.EditCommandName)) {
2425
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.UpdateCommandName)) {
2427
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.CancelCommandName)) {
2429
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.DeleteCommandName)) {
2431
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.InsertCommandName)) {
2434
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.NewCommandName)) {
UI\WebControls\FormView.cs (26)
1587
firstButton.CommandName =
DataControlCommands
.PageCommandName;
1588
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
1604
prevButton.CommandName =
DataControlCommands
.PageCommandName;
1605
prevButton.CommandArgument =
DataControlCommands
.PreviousPageCommandArgument;
1622
nextButton.CommandName =
DataControlCommands
.PageCommandName;
1623
nextButton.CommandArgument =
DataControlCommands
.NextPageCommandArgument;
1641
lastButton.CommandName =
DataControlCommands
.PageCommandName;
1642
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
1707
firstButton.CommandName =
DataControlCommands
.PageCommandName;
1708
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
1718
button.CommandName =
DataControlCommands
.PageCommandName;
1737
button.CommandName =
DataControlCommands
.PageCommandName;
1749
button.CommandName =
DataControlCommands
.PageCommandName;
1769
lastButton.CommandName =
DataControlCommands
.PageCommandName;
1770
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
2037
if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.PageCommandName)) {
2040
if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.NextPageCommandArgument)) {
2042
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.PreviousPageCommandArgument)) {
2044
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.FirstPageCommandArgument)) {
2046
} else if (StringUtil.EqualsIgnoreCase(itemIndexArg,
DataControlCommands
.LastPageCommandArgument)) {
2053
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.EditCommandName)) {
2055
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.UpdateCommandName)) {
2057
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.CancelCommandName)) {
2059
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.DeleteCommandName)) {
2061
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.InsertCommandName)) {
2063
} else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.NewCommandName)) {
UI\WebControls\GridView.cs (27)
2439
firstButton.CommandName =
DataControlCommands
.PageCommandName;
2440
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
2460
prevButton.CommandName =
DataControlCommands
.PageCommandName;
2461
prevButton.CommandArgument =
DataControlCommands
.PreviousPageCommandArgument;
2481
nextButton.CommandName =
DataControlCommands
.PageCommandName;
2482
nextButton.CommandArgument =
DataControlCommands
.NextPageCommandArgument;
2502
lastButton.CommandName =
DataControlCommands
.PageCommandName;
2503
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
2571
firstButton.CommandName =
DataControlCommands
.PageCommandName;
2572
firstButton.CommandArgument =
DataControlCommands
.FirstPageCommandArgument;
2582
button.CommandName =
DataControlCommands
.PageCommandName;
2602
button.CommandName =
DataControlCommands
.PageCommandName;
2616
button.CommandName =
DataControlCommands
.PageCommandName;
2640
lastButton.CommandName =
DataControlCommands
.PageCommandName;
2641
lastButton.CommandArgument =
DataControlCommands
.LastPageCommandArgument;
2792
if (buttonControl.CommandName ==
DataControlCommands
.SortCommandName) {
2989
if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.SelectCommandName)) {
2992
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.PageCommandName)) {
2997
if (StringUtil.EqualsIgnoreCase(pageNumberArg,
DataControlCommands
.NextPageCommandArgument)) {
3000
else if (StringUtil.EqualsIgnoreCase(pageNumberArg,
DataControlCommands
.PreviousPageCommandArgument)) {
3003
else if (StringUtil.EqualsIgnoreCase(pageNumberArg,
DataControlCommands
.FirstPageCommandArgument)) {
3006
else if (StringUtil.EqualsIgnoreCase(pageNumberArg,
DataControlCommands
.LastPageCommandArgument)) {
3015
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.SortCommandName)) {
3018
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.EditCommandName)) {
3021
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.UpdateCommandName)) {
3024
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.CancelCommandName)) {
3027
else if (StringUtil.EqualsIgnoreCase(command,
DataControlCommands
.DeleteCommandName)) {
System.Web.Extensions (19)
UI\WebControls\ListView.cs (7)
2298
if (String.Equals(command,
DataControlCommands
.SelectCommandName, StringComparison.OrdinalIgnoreCase)) {
2301
else if (String.Equals(command,
DataControlCommands
.SortCommandName, StringComparison.OrdinalIgnoreCase)) {
2304
else if (String.Equals(command,
DataControlCommands
.EditCommandName, StringComparison.OrdinalIgnoreCase)) {
2307
else if (String.Equals(command,
DataControlCommands
.CancelCommandName, StringComparison.OrdinalIgnoreCase)) {
2310
else if (String.Equals(command,
DataControlCommands
.UpdateCommandName, StringComparison.OrdinalIgnoreCase)) {
2313
else if (String.Equals(command,
DataControlCommands
.DeleteCommandName, StringComparison.OrdinalIgnoreCase)) {
2316
else if (String.Equals(command,
DataControlCommands
.InsertCommandName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\NextPreviousPagerField.cs (8)
439
if (String.Equals(e.CommandName,
DataControlCommands
.PreviousPageCommandArgument)) {
447
else if (String.Equals(e.CommandName,
DataControlCommands
.NextPageCommandArgument)) {
455
else if (String.Equals(e.CommandName,
DataControlCommands
.FirstPageCommandArgument)) {
458
else if (String.Equals(e.CommandName,
DataControlCommands
.LastPageCommandArgument)) {
542
container.Controls.Add(CreateControl(
DataControlCommands
.FirstPageCommandArgument, FirstPageText, fieldIndex, FirstPageImageUrl, EnablePreviousPage));
547
container.Controls.Add(CreateControl(
DataControlCommands
.PreviousPageCommandArgument, PreviousPageText, fieldIndex, PreviousPageImageUrl, EnablePreviousPage));
552
container.Controls.Add(CreateControl(
DataControlCommands
.NextPageCommandArgument, NextPageText, fieldIndex, NextPageImageUrl, EnableNextPage));
557
container.Controls.Add(CreateControl(
DataControlCommands
.LastPageCommandArgument, LastPageText, fieldIndex, LastPageImageUrl, EnableNextPage));
UI\WebControls\NumericPagerField.cs (4)
296
if (String.Equals(e.CommandName,
DataControlCommands
.PreviousPageCommandArgument)) {
302
else if (String.Equals(e.CommandName,
DataControlCommands
.NextPageCommandArgument)) {
420
container.Controls.Add(CreateNextPrevButton(PreviousPageText,
DataControlCommands
.PreviousPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), PreviousPageImageUrl));
441
container.Controls.Add(CreateNextPrevButton(NextPageText,
DataControlCommands
.NextPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), NextPageImageUrl));