ASP.NET 3.5转换后控制的事件不触发 [英] Control events not firing after ASP.NET 3.5 conversion

查看:98
本文介绍了ASP.NET 3.5转换后控制的事件不触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的部门目前正在将我们所有的项目,从2.0到3.5,我们正在经历一个奇怪的副作用。似乎大多数,如果不是全部,控制事件不被烧结后我们转换突出到3.5的框架。至少最初没有。典型的例子,我一直在寻找在我们的内部接口之一已被转换,并没有下拉列表中选择索引按钮单击事件改变事件射击。我转移到别的无关然后又回到页约2小时后,然后将事件解雇了。

My department is currently converting all of our projects from 2.0 to 3.5, and we are experiencing an odd side effect. It seems that most, if not all, control events aren't firing after we convert the projects to the 3.5 framework. At least not initially. Case in point, I was looking at one of our internal interfaces that had been converted, and none of the button click events of drop-down selected index changed events were firing. I moved on to something else unrelated then went back to the page approximately 2 hours later, and then the events were firing.

我已经装在设计模式下的.aspx页面,并确保事件得到妥善绑在code隐藏方法,有些项目仍然没有对事件做出响应。

I've loaded the .aspx page in Design mode and ensured that the events were tied properly to the code-behind methods, and some projects still don't respond to events.

有没有人遇到过这个?我已经做了网络上的一些搜索和一直没能找到任何相关的答案。任何信息将是极大的AP preciated!

Has anyone experienced this? I've done some searching on the web and have not been able to find any relevant answers. Any information would be greatly appreciated!

詹姆斯

推荐答案

我看除了它始终工作在FF,Chrome和Safari浏览器,而且从不在IE8或7类似的问题

I see a similar problem except that it ALWAYS works in FF, Chrome and Safari, and NEVER in IE8 or 7.

当我手动编写的,即使处理程序,它的工作原理。同时在开发和生产服务器完全相同的行为。

When I manually write the even handlers in, it works. Same exact behavior on both the development and production servers.

这篇关于ASP.NET 3.5转换后控制的事件不触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆