The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientTextEdit.GetText Method

Returns the text displayed within the editor.

Declaration

GetText(): string

Returns

Type Description
string

A string value representing the editor's display text.

Remarks

<dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="170px" ClientInstanceName="textBox"></dx:ASPxTextBox>
<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Set Label Text" AutoPostBack="False" >
    <ClientSideEvents Click="function(s, e) {   label.SetText(textBox.GetText()); }" />
</dx:ASPxButton>
<dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="" ClientInstanceName="label">
</dx:ASPxLabel>

Online Example

See Also