Oct 22, 2008, 6:10 PM
[CLOSED] Window Help
Hello,
With the following example, I would like to know how I can make an ExtJS Window take over the parent page and not just the iframe? Wondering if this is possible?
Example.aspx:
Timothy
With the following example, I would like to know how I can make an ExtJS Window take over the parent page and not just the iframe? Wondering if this is possible?
Example.aspx:
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True" />
<ext:ScriptManager ID="ScriptManager2" runat="server" StateProvider="PostBack" />
<ext:Panel ID="Panel1"
runat="server"
AutoLoadIFrame="Example-Frame.aspx"
Height="400"
Width="600" />
</form>
</body>
</html>
Example-Frame.aspx:<%@ Page Language="C#" %>
<%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" EnablePartialRendering="True" />
<ext:ScriptManager runat="server" />
<ext:Window runat="server"
AutoLoad="http://www.google.com"
Modal="True"
Showonload="True"
Height="300"
Width="400" />
</form>
</body>
</html>
Cheers,Timothy