ASPxClientPopupControlBase.SetHeaderText(value) Method
In This Article
Specifies the popup window’s header text.
#Declaration
TypeScript
SetHeaderText(
value: string
): void
#Parameters
Name | Type | Description |
---|---|---|
value | string | A string value that specifies a window’s header text. |
#Remarks
Use the HeaderText property to set the popup window’s header text on the server side.
#Example
The following example illustrates how to use the SetHeaderText
method to set the popup window’s header text on the client side.
<dx:ASPxButton ID="button" runat="server" Text="Set Text to Popup" AutoPostBack="False" >
<ClientSideEvents Click="function (s, e) { popup.SetHeaderText('Test Text'); }" />
</dx:ASPxButton>
<dx:ASPxPopupControl ID="popup" runat="server" ClientInstanceName="popup" >
<!-- ... -->
</dx:ASPxPopupControl>
#Online Example
See Also