Skip to main content

ASPxClientPopupControl.SetWindowContentHtml(window, html) Method

Defines the HTML content for a specific popup window within the popup control.

Declaration

SetWindowContentHtml(
    window: ASPxClientPopupWindow,
    html: string
): void

Parameters

Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object that specifies the required popup window.

html string

A string value that represents the HTML code defining the content of the specified popup window.

Remarks

Use the SetWindowContentHtml method on the client side to dynamically provide a popup window specified by the window parameter with its HTML contents.

Note

If the loaded HTML contains DevExpress MVC extensions and these extensions require specific resources, such as scripts or CSS files, you should call the FinalizeCallback method to force loading of these resources.

See Also