摘要: protected override void OnInit(EventArgs e) { } protected void Page_Load(object sender, EventArgs e) { this.Events.AddHandler("OnButton", new EventHandler(BtnShow)); this.Button1.Click += (EventHandler)this.Events["OnButton"]; } private void Button1_Click(object sender, System.Ev 阅读全文
posted @ 2012-02-14 17:41 踏浪帅 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1:增加Ext.net的引用;有三个:Ext.Net.dll Ext.Net.Utilities.dll Newtonsoft.Json.dll (可以直接在工具箱里直接增加Ext.net.dll它就会自动把那三个引用的)2: Web.config修改<web> <httpModules> <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" /> </httpModules></web>3:asp 阅读全文
posted @ 2012-02-14 09:44 踏浪帅 阅读(352) 评论(0) 推荐(0) 编辑