Skip to main content

ASPxClientTextBox Class

A client-side equivalent of the ASPxTextBox control.


declare class ASPxClientTextBox extends ASPxClientTextBoxBase


The ASPxClientTextBox object serves as a client-side equivalent of the ASPxTextBox class.


Use the ClientInstanceName property to programmatically access the client object rendered for the ASPxTextBox control in client-side script.


In this example, click the ASPxHyperLink to set the text box value to the hyperlink’s text using the client SetValue(value) method.

<dxe:ASPxTextBox ID="tbText" runat="server" Width="170px">
     <ClientSideEvents TextChanged="OnTextChanged" KeyPress="OnKeyPressed" />
<dxe:ASPxHyperLink ID="lnkSample1" runat="server" Text="Text #1" Cursor="pointer">
     <BorderBottom BorderStyle="Dashed" BorderWidth="1px" />
     <ClientSideEvents Click="OnHyperLinkClick" />
See Also