惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
A
About on SuperTechFans
NISL@THU
NISL@THU
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
小众软件
小众软件
博客园 - Franky
罗磊的独立博客
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
Hacker News - Newest:
Hacker News - Newest: "LLM"
Cyberwarzone
Cyberwarzone
C
CXSECURITY Database RSS Feed - CXSecurity.com
Project Zero
Project Zero
Security Latest
Security Latest
L
Lohrmann on Cybersecurity
AWS News Blog
AWS News Blog
The Hacker News
The Hacker News
I
Intezer
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
P
Privacy International News Feed
月光博客
月光博客
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园_首页
WordPress大学
WordPress大学
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tor Project blog
博客园 - 三生石上(FineUI控件)
The Last Watchdog
The Last Watchdog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

博客园 - 恋地高飞

超级弹窗代码(P2P,360都拦截不了 sql批量修改表名(前缀)--亲测 baset64加密解密代码 com/c.js木马攻击...(转) asp.net TextBox显示密码 - 恋地高飞 - 博客园 IIS7 中使用 UrlRewritingNet(转) Reflector使用手记 学习SQL Server全文索引 (转 ) 查询同一表内多字段同时重复记录的SQL语句 asp.net中Excel导入(使用微软OLEDB驱动) asp.net获取URL和IP地址 警告: 程序集绑定日志记录被关闭。 Repeater1绑定数据,编辑数据的一些参考文章 asp.net下linkbutton的前后台使用方法 sqlserver 中判断是否数字,是否汉字的方法 301永久重定向asp.net实现方法 Net程序如何防止被注入 UrlRewritingNet 完美实现 ASP.NET 2.0 中的URL重写(映射) (转) FusionCharts一款flash统计控件,可以用于C#
Ext.Window窗口下onclick="Button1_Click",不能提交的问题
恋地高飞 · 2009-03-05 · via 博客园 - 恋地高飞

 原文地址:http://extjs.com/forum/showthread.php?t=15302&highlight=runat+Window+ASP.NET&page=2

<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server">
    
protected void Button1_Click(object sender, EventArgs e)
    {
        
this.Label1.Text = "You entered: " + this.TextBox1.Text;
    }
</script><html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    
<title>Ext Window with PostBack support</title>
    
    
<link href="extjs/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
    
<script src="extjs/adapter/ext/ext-base.js" type="text/javascript"></script>
    
<script src="extjs/ext-all.js" type="text/javascript"></script>
    
    
<script type="text/javascript">
        Ext.onReady(function(){
            var Window1 
= new Ext.Window({
                id:
"Window1",
                title:
"Window1",
                height:
100,
                width:
200,
                autoShow:
true,
                contentEl:
"Window1_Content",
                collapsible: 
true,
                bodyStyle:
"padding: 6px;",
                renderTo: 
"form1"
            });
            Window1.show();
            Window1.setPosition(
200200);
        });
    
</script>
    
<style type="text/css">
        
/* The following styles are only required if NOT using .setPosition */
        
/*body 
        {
            overflow: hidden;
            margin: 0;
            padding: 0;
            border: 0px none;
        }
        
        html, body 
        {
            height: 100%;
        }
*/
    
</style>           
</head>
<body>
    
<!--  The following form style attributes are only required if NOT using .setPosition -->
    
<!--  style="width:100%; height:100%;" -->
    
<form id="form1" runat="server">
        
        
<asp:Label ID="Label1" runat="server" />
        
        
<div id="Window1_Content">
            
<asp:TextBox ID="TextBox1" runat="server" /><br />
            
<asp:Button runat="server" id="Button1" Text="submit" onclick="Button1_Click" />
        
</div>
        
    
</form>
</body>
</html>