以前一直都是用WEBProject方式开发网站,在不少地方使用PageMethods,可以说是轻车熟路了。这次想尝试下WEBSite方式,因为修改代码后不用编译,再次刷新页面就能看到效果,这点比较方便。可是我在使用PageMethods时,却遇到了麻烦。加好了ScriptManager,给静态方法加上了[WebMethod]特性,可是页面输出就是看不到ScriptManager:( 以为是.net3.5或vs2008的问题,google没有答案。又怀疑是网站中某个handlers或是导致出错,重新检查过,并且移除所有handlers测试,结果还是不行。快要崩溃的时候注意到个问题,MSDN中的例...
http://www.jb51.net//article/13748.htm
openMethodAssignsmethod,destinationURL,andotheroptionalattributesofapendingrequest.SyntaxXMLHttpRequest.open(sMethod,sUrl[,bAsync][,sUser][,sPassword])[/pre]ParameterssMethodRequired.StringthatspecifiestheHTTPmethodusedtoopentheconnection:suchasGET,POST,orHEAD.Thisparameterisnotcase-sensitive.sUrlRe...
http://www.jb51.net//article/10277.htm
1、Using Javascript eval Method。2、using a veriables save object "this" reference.3、in innerHTML, we can using String to pass the prototype Method。e.g.<SCRIPT LANGUAGE="JavaScript"><!--function...
http://www.jb51.net//article/6088.htm
共有:3/10,当前1/1页
[首页] [上一页]
1
[下一页] [尾页]
转到:
