Skip to main content
A newer version of this page is available. .

ASPxClientPopupControlBase.GetContentIFrame Method

Returns an iframe object containing a web page specified via the control’s ASPxPopupControlBase.ContentUrl property (or the ASPxClientPopupControlBase.SetContentUrl client method).

Declaration

GetContentIFrame(): any

Returns

Type Description
any

The iframe object that contains a web page displayed within the control.

Example

If a content of the ASPxPopupControl is loaded slowly, you can show a loading panel reflecting this process.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h2> Page content </h2>
    </div>
    </form>
</body>
</html>
See Also