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

<%@ Register Src="ChatControl.ascx" TagName="ChatControl" TagPrefix="uc1" %>

<!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>User Control Chat Page</title>
    <link href="~/WestWind.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>User Control wwMethodCallback Chat</h1>
        <small>&nbsp;<a href="../default.aspx">Home</a> | <a href="ChatControlPage.aspx">Reset Page</a> | 
        <a href="ChatControlPage.aspx" target="_blank">Open new Window</a></small>
        <br />
        <br />
        <uc1:ChatControl ID="ChatControl1" runat="server" ServerUrl="~/chat/chatservice.ashx" />
        
        <br />
        <blockquote>
        <hr />
        This example is pretty much identical to the full page chat except that this
        version holds all the chat functionality in a user control that can be dropped
        on any page. To distribute you'll also need to distribute the ChatService.ashx
        and the codebehind file.
        <br />
        <br />
        This sample demonstrates how you can use a wwMethodCallback control from a user
        control - the control is hosted by the user control. You can also host it in
        custom controls by adding to the control tree entirely in code.
        <hr />
        </blockquote>
        
    </div>
    </form>
</body>
</html>
