PDA

View Full Version : 2 Autoload websites?



evechey
Apr 11, 2008, 1:37 PM
Hello,


I am wondering if its possible to have a 2nd autoload website window available in addition to the 1 that loads. My idea was to have the main window load the current website, and the 2nd window to have a live chat pop up as well. Then a user would be able to chat with a person concerning any issues that they are having as well as be able to click through on the website.

This would eliminate the usability issue of a completely seperate window.

Thanks.

geoffrey.mcgill
Apr 16, 2008, 9:33 PM
Do you mean, create two Window controls and load a separate url into each? If yes, then I think this functionality is already supported. I created the following sample which adds two Window controls and loads each with a separate url.


<%@ Page Language="C#" %>

<!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 runat="server">
<title>Two Windows</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:Window
ID="Window1"
runat="server"
AutoShow="true"
Collapsible="true"
AutoLoad="http://www.google.com/"
Height="550px"
Title="google.com"
Width="650px"
/>

<ext:Window
ID="Window2"
runat="server"
AutoShow="true"
Collapsible="true"
AutoLoad="http://news.google.com/"
Height="650px"
Title="news.google.com"
Width="850px"
/>
</form>
</body>
</html>


Hope this helps.