码迷,mamicode.com
首页 > Web开发 > 详细

Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined

时间:2014-05-04 20:26:47      阅读:529      评论:0      收藏:0      [点我收藏+]

标签:style   blog   class   code   java   width   

环境:Asp.Net网站,Framework版本4.0,IIS版本7.0
问题:按钮失效,下面是按钮代码:
<a id="dnn_ctr1161_Login_Login_DNN_cmdLogin" title="登录" class="dnnPrimaryAction" href=‘javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("dnn$ctr1161$Login$Login_DNN$cmdLogin", "", true, "", "", false, true))‘>登录</a>

 报错信息Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined

解决办法:

第一、检查服务器的时间,查看服务器的时间是准确,如果有误调整时间,为了从根本解决问题,一定要了解清楚服务器的时间为什么出现问题;

第二、IIS-》我的网站-》处理程序映射-》*.axd-》编辑-》请求限制-》映射-》勾选“仅当请求映射到一下内容时才调用处理程序”-》勾选“文件”

bubuko.com,布布扣
另外还可以参考:http://www.cnblogs.com/yongwnet/archive/2007/06/17/786064.html

Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined,布布扣,bubuko.com

Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined

标签:style   blog   class   code   java   width   

原文地址:http://www.cnblogs.com/LLLLoveLLLLife/p/3706282.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!