New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Provides data for the ButtonCommand event of the RadSearchBox control.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class SearchBoxButtonEventArgs : EventArgs

Inheritance: objectEventArgsSearchBoxButtonEventArgs

Inherited Members EventArgs.Emptyobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the SearchBoxButtonEventArgs class.

C#
public SearchBoxButtonEventArgs(string commandName, string commandArgument)
Parameters:commandNamestring

The commandName of the referenced button.

commandArgumentstring

The commandArgument of the referenced button.

Properties

Gets or sets the commandArgument of the referenced button in the RadSearchBox control when the event is raised.

C#
public string CommandArgument { get; set; }
Property Value:

The commandArgument of the referenced button in the RadSearchBox control when the event is raised.

Gets or sets the commandName of the button in the RadSearchBox control when the event is raised.

C#
public string CommandName { get; set; }
Property Value:

The commandName of the referenced button in the RadSearchBox control when the event is raised.