Skip to main content

ASPxClientPopupControlBase.SetHeaderText(value) Method

Specifies the popup window’s header text.

Declaration

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

View Example: How to customize a pop-up window's content and layout

See Also