摘要: Attributes.Add("javascript事件","javascript语句");如:this.TextBox1.Attributes.add("onblue", "window.Label1.style.backgroundColor='#000000';");this.TextBox1.Attributes.Add("onblur","this.style.display='none'");javascript事件:onClick 阅读全文
posted @ 2012-06-21 15:33 cziger 阅读(5882) 评论(0) 推荐(1) 编辑
摘要: //在当前页执行新页面数据Server.Execute("Server2.aspx?message=Execute");//跳转到新页面 Server.Transfer("Server2.aspx?message= Transfer "); 阅读全文
posted @ 2012-06-21 14:39 cziger 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Page.RegisterStartupScript("show", "<script>show('light')</script>"); 阅读全文
posted @ 2012-06-21 11:14 cziger 阅读(83) 评论(0) 推荐(0) 编辑
摘要: HttpUtility.UrlEncode 方法:对 URL 字符串进行编码,以便实现从 Web 服务器到客户端的可靠的 HTTP 传输。重载列表将字节数组转换为已编码的 URL 字符串,以便实现从 Web 服务器到客户端的可靠的 HTTP 传输。[C#] public static string UrlEncode(byte[]);对 URL 字符串进行编码,以便实现从 Web 服务器到客户端的可靠的 HTTP 传输。[C#] public static string UrlEncode(string);使用指定的编码对象对 URL 字符串进行编码,以便实现从 Web 服务器到客户端的可靠 阅读全文
posted @ 2012-06-21 11:10 cziger 阅读(429) 评论(0) 推荐(0) 编辑