Skip to main content

CloudControlItem.Text Property

Gets or sets the item’s description (text).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public string Text { get; set; }

Property Value

Type Default Description
String "Item"

A string value that specifies the item’s description.


The Text property specifies the item’s description. The description is rendered as a link that when clicked, allows the user to drill into the selected category. A click on this link navigates the application to the location specified by the CloudControlItem.NavigateUrl property.


The following example illustrates how to obtain the Text property value of a clicked Iiem on the client side.

<dx:ASPxCloudControl ID="ASPxCloudControl1" runat="server" DataSourceID="AccessDataSource1"
    TextField="Name" ValueField="Area">
    <ClientSideEvents ItemClick="function(s, e) {
    var text = e.htmlElement.innerText;
    }" />
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Data.mdb"
    SelectCommand="SELECT [Name], [Area] FROM [country]"></asp:AccessDataSource>
See Also