Skip to main content

ASPxClientPanelBase.SetContentHtml(html) Method

Sets the HTML content for the panel.

Declaration

SetContentHtml(
    html: string
): void

Parameters

Name Type Description
html string

A string value that is the HTML code defining the content of the panel.

Remarks

Use the SetContentHtml method on the client side to dynamically provide the panel with its HTML contents. To get the panel content on the client side, use the GetContentHtml method.

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