PDA

View Full Version : Ability to open more than a single copy of a window



dbassett74
Jun 17, 2009, 6:18 PM
Each time you click on the "New Window" button, I would like a new and separate copy of "Window1" to be displayed, without making a round trip to the server, all client side.



<%@ Page Language="VB" %>

<%@ 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">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server">
</ext:ScriptManager>
<ext:Button ID="Button1" runat="server" Text="New Window" OnClientClick="Window1.showNew();">
</ext:Button>
<ext:Window ID="Window1" runat="server" Collapsible="true" Icon="Application" Title="Title" Show&#111;nload="false">
<Body>
</Body>
</ext:Window>
</form>
</body>
</html>