随笔 - 1  文章 - 1218  评论 - 155  阅读 - 516万

文章分类 -  ASP.NET笔记

对ASP.NET的一些新的认识,记录下来
JS之open,showModalDialog,showModelessDialog
摘要:open:打开新页面showModalDialog:打开模式对话框showModelessDialog:打开非模式对话框openSyntax:oNewWindow = window.open( [sURL] [, sName] [, sFeatures] [, bReplace])Parameters:sURLOptional. Stringthat specifies the URL of th... 阅读全文
posted @ 2010-05-20 16:57 carekee 阅读(1103) 评论(0) 推荐(0) 编辑
Sys.WebForms.PageRequestManagerErrorException:The message received from the server could not be parsed错误解决方法
摘要:因为用的是Ajax的 ScriptManager + UpdatePanel控件所以调用Response.Write(),Page.RegisterStartScript()等方法,就不行了需要调用Ajax本身的ScriptManager.RegisterStartupScript()方法;具体格式为:System.Web.UI.ScriptManager.RegisterStartupScrip... 阅读全文
posted @ 2010-05-20 16:00 carekee 阅读(3689) 评论(0) 推荐(2) 编辑
网页退出
摘要:<script language="javascript"> var bClosing = true; function document.onclick() { var e = event.srcElement; if (e.tagName == "A" || (e.tagName == "INPUT" && e.type == "submit")) bClosin... 阅读全文
posted @ 2010-02-23 13:03 carekee 阅读(376) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示