ext之Windows

//前台

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

<%@ Register Assembly="Coolite.Web.UI" Namespace="Coolite.Web.UI" TagPrefix="cool" %>

<!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>ext之Windows</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cool:ScriptManager ID="ScriptManager1" runat="server" />
        <cool:Window ID="Window1" runat="server"  Collapsible="true">
            <Content>
                第一个次做EXT弹出窗口
            </Content>
        </cool:Window>
        <cool:Button ID="Button1" runat="server" Text="Submit" OnClick="Button1_Click">
        </cool:Button>
    </div>
    </form>
</body>
</html>

//后台
 protected void Button1_Click(object sender, EventArgs e)
    {
        this.Window1.AutoShow = true;
    }
posted on 2008-05-28 12:35  freexiaoyu  阅读(425)  评论(0编辑  收藏  举报