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

Provides data for the Search event of the RadSearchBox control.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class SearchBoxEventArgs : EventArgs

Inheritance: objectEventArgsSearchBoxEventArgs

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 SearchBoxEventArgs class.

C#
public SearchBoxEventArgs(string text, string value, object dataItem)
Parameters:textstring

The text of the referenced item.

valuestring

The value of the referenced item.

dataItemobject

The dataItem object of the referenced item.

Properties

Gets or sets the dataItem object of the referenced item in the RadSearchBox control when the event is raised.

C#
public object DataItem { get; set; }
Property Value:

The dataItem object of the referenced item in the RadSearchBox control when the event is raised.

Gets or sets the text of the referenced item in the RadSearchBox control when the event is raised.

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

The text of the referenced item in the RadSearchBox control when the event is raised.

Gets or sets the value of the referenced item in the RadSearchBox control when the event is raised.

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

The value of the referenced item in the RadSearchBox control when the event is raised.