3 implementations of IButtonControl
System.Web (3)
UI\WebControls\Button.cs (1)
30
public class Button : WebControl,
IButtonControl
, IPostBackEventHandler {
UI\WebControls\ImageButton.cs (1)
32
public class ImageButton : Image, IPostBackDataHandler, IPostBackEventHandler,
IButtonControl
{
UI\WebControls\LinkButton.cs (1)
46
public class LinkButton : WebControl,
IButtonControl
, IPostBackEventHandler {
99 references to IButtonControl
System.Web (94)
UI\HtmlForm.cs (1)
431
if (c is
IButtonControl
) {
UI\WebControls\ButtonField.cs (3)
208
IButtonControl
button;
306
Debug.Assert(boundControl is
IButtonControl
, "Expected the bound control to be an IButtonControl");
307
((
IButtonControl
)boundControl).Text = dataValue;
UI\WebControls\CommandField.cs (1)
500
IButtonControl
button;
UI\WebControls\CreateUserWizard.cs (17)
2378
IButtonControl
button = dataListItem.FindControl(SideBarButtonID) as
IButtonControl
;
2881
var
createUserButtonControl = (
IButtonControl
)createUserButton;
2885
var
previousButtonControl = (
IButtonControl
)previousButton;
2888
((
IButtonControl
)cancelButton).Text = CancelButtonText;
3395
private
IButtonControl
[][] _buttons;
3430
_buttons = new
IButtonControl
[3][];
3431
_buttons[0] = new
IButtonControl
[3];
3432
_buttons[1] = new
IButtonControl
[3];
3433
_buttons[2] = new
IButtonControl
[3];
3446
private TableCell CreateButtonControl(
IButtonControl
[] buttons, String validationGroup, String id,
3491
internal
IButtonControl
PreviousButton {
3497
internal
IButtonControl
CreateUserButton {
3503
internal
IButtonControl
CancelButton {
3509
private
IButtonControl
GetButtonBasedOnType(int pos, ButtonType type) {
UI\WebControls\DetailsView.cs (11)
1870
IButtonControl
firstButton;
1887
IButtonControl
prevButton;
1907
IButtonControl
nextButton;
1927
IButtonControl
lastButton;
1995
IButtonControl
firstButton;
2065
IButtonControl
lastButton;
2268
protected virtual string GetCallbackScript(
IButtonControl
buttonControl, string argument) {
2941
IButtonControl
button = dvcea.CommandSource as
IButtonControl
;
3585
PostBackOptions IPostBackContainer.GetPostBackOptions(
IButtonControl
buttonControl) {
3602
string ICallbackContainer.GetCallbackScript(
IButtonControl
buttonControl, string argument) {
UI\WebControls\FormView.cs (9)
1578
IButtonControl
firstButton;
1593
IButtonControl
prevButton;
1611
IButtonControl
nextButton;
1629
IButtonControl
lastButton;
1695
IButtonControl
firstButton;
1760
IButtonControl
lastButton;
2562
IButtonControl
button = fvcea.CommandSource as
IButtonControl
;
3025
PostBackOptions IPostBackContainer.GetPostBackOptions(
IButtonControl
buttonControl) {
UI\WebControls\GridView.cs (11)
2427
IButtonControl
firstButton;
2448
IButtonControl
prevButton;
2469
IButtonControl
nextButton;
2490
IButtonControl
lastButton;
2559
IButtonControl
firstButton;
2628
IButtonControl
lastButton;
2789
protected virtual string GetCallbackScript(
IButtonControl
buttonControl, string argument) {
3604
IButtonControl
button = gvcea.CommandSource as
IButtonControl
;
4443
PostBackOptions IPostBackContainer.GetPostBackOptions(
IButtonControl
buttonControl) {
4460
string ICallbackContainer.GetCallbackScript(
IButtonControl
buttonControl, string argument) {
UI\WebControls\ICallbackContainer.cs (1)
15
string GetCallbackScript(
IButtonControl
buttonControl, string argument);
UI\WebControls\ImageButton.cs (2)
249
event EventHandler
IButtonControl
.Click {
507
string
IButtonControl
.Text {
UI\WebControls\IPostBackContainer.cs (1)
15
PostBackOptions GetPostBackOptions(
IButtonControl
buttonControl);
UI\WebControls\Panel.cs (1)
296
if (c is
IButtonControl
) {
UI\WebControls\Wizard.cs (36)
82
private
IButtonControl
_commandSender;
1398
IButtonControl
button = dataListItem.FindControl(SideBarButtonID) as
IButtonControl
;
1869
_commandSender = sender as
IButtonControl
;
1932
protected internal void RegisterCommandEvents(
IButtonControl
button) {
2305
private static void ApplyButtonProperties(
IButtonControl
button, string text, string imageUrl) {
2309
private static void ApplyButtonProperties(
IButtonControl
button, string text, string imageUrl, bool imageButtonVisible) {
2986
private
IButtonControl
[][] _buttons;
3026
_buttons = new
IButtonControl
[3][];
3027
_buttons[0] = new
IButtonControl
[3];
3028
_buttons[1] = new
IButtonControl
[3];
3029
_buttons[2] = new
IButtonControl
[3];
3064
private void CreateButtonControl(
IButtonControl
[] buttons, String id, bool causesValidation, string commandName) {
3102
internal
IButtonControl
FirstButton {
3124
internal
IButtonControl
SecondButton {
3146
internal
IButtonControl
CancelButton {
3153
private
IButtonControl
GetButtonBasedOnType(int pos, ButtonType type) {
3335
private
IButtonControl
_finishButton;
3336
private
IButtonControl
_previousButton;
3337
private
IButtonControl
_nextButton;
3338
private
IButtonControl
_cancelButton;
3358
protected void ApplyButtonStyleInternal(
IButtonControl
control, Style buttonStyle) {
3377
internal
IButtonControl
CancelButton {
3383
_cancelButton = FindControl(Wizard.CancelButtonID) as
IButtonControl
;
3392
internal virtual
IButtonControl
NextButton {
3398
_nextButton = FindControl(Wizard.StepNextButtonID) as
IButtonControl
;
3407
internal virtual
IButtonControl
PreviousButton {
3413
_previousButton = FindControl(Wizard.StepPreviousButtonID) as
IButtonControl
;
3422
internal
IButtonControl
FinishButton {
3428
_finishButton = FindControl(Wizard.FinishButtonID) as
IButtonControl
;
3448
private
IButtonControl
_previousButton;
3454
internal override
IButtonControl
PreviousButton {
3460
_previousButton = FindControl(Wizard.FinishPreviousButtonID) as
IButtonControl
;
3471
private
IButtonControl
_nextButton;
3477
internal override
IButtonControl
NextButton {
3483
_nextButton = FindControl(Wizard.StartNextButtonID) as
IButtonControl
;
System.Web.Extensions (5)
UI\WebControls\ListView.cs (2)
2804
IButtonControl
button = commandEventArgs.CommandSource as
IButtonControl
;
UI\WebControls\NextPreviousPagerField.cs (1)
474
IButtonControl
button;
UI\WebControls\NumericPagerField.cs (2)
320
IButtonControl
button;
359
IButtonControl
button;