A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class ButtonTextBox

Inheritance
System.Object
ButtonTextBox
Implements
System.Web.UI.IPostBackEventHandler
Namespace: Mediachase.Commerce.Website.Controls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
public class ButtonTextBox : TextBox, IPostBackEventHandler

Constructors

ButtonTextBox()

Initializes a new instance of the ButtonTextBox class.

Declaration
public ButtonTextBox()

Properties

CommandArgument

Gets or sets the command argument.

Declaration
public string CommandArgument { get; set; }
Property Value
Type Description
System.String

The command argument.

CommandName

Gets or sets the name of the command.

Declaration
public string CommandName { get; set; }
Property Value
Type Description
System.String

The name of the command.

Methods

OnCommand(CommandEventArgs)

Raises the Command event.

Declaration
protected virtual void OnCommand(CommandEventArgs e)
Parameters
Type Name Description
System.Web.UI.WebControls.CommandEventArgs e

The System.Web.UI.WebControls.CommandEventArgs instance containing the event data.

RaisePostBackEvent(String)

When implemented by a class, enables a server control to process an event raised when a form is posted to the server.

Declaration
protected virtual void RaisePostBackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

A System.String that represents an optional event argument to be passed to the event handler.

Implements

System.Web.UI.IPostBackEventHandler