[英]Moved my ASP.NET app to a Windows 2008 server, now DropDownList SelectedIndexChanged events don't fire
Existing ASP.NET 2.0 app,currently deployed on a Windows Server 2003 machine.现有的 ASP.NET 2.0 应用程序,当前部署在 Windows Server 2003 机器上。
Testing moving it to a new WS 2008 box.测试将其移至新的 WS 2008 盒子。 App loads fine, other behavior seems fine, but I'm not getting OnSelectedIndexChanged events from my DropDownLists.
应用程序加载正常,其他行为似乎正常,但我没有从我的 DropDownLists 获得 OnSelectedIndexChanged 事件。
I guess I could add command buttons and run the code in the button click event based on the Item selected in the dropdown but that seems kinda clunky.我想我可以添加命令按钮并根据下拉菜单中选择的项目在按钮单击事件中运行代码,但这似乎有点笨拙。
Any thoughts?有什么想法吗?
EDIT- The controls are stand-alone on the form.编辑 - 控件在表单上是独立的。 Not part of a datagrid/gridview or any other container control.
不属于 datagrid/gridview 或任何其他容器控件。
<asp:DropDownList ID="ddlOCA" runat="Server" OnSelectedIndexChanged="ddlOCA_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
EDIT 2 - This Windows 2008 server is 64 bit, whereas the other server where I do get the events is 32 bit.编辑 2 - 这个 Windows 2008 服务器是 64 位的,而我得到事件的另一台服务器是 32 位的。
EDIT 3 - On the WS 2008 machine, there are also several that no longer fire (collaps/expand).编辑 3 - 在 WS 2008 机器上,还有几个不再触发(折叠/展开)。 Sigh.
叹。
A few ideas:一些想法:
This is an intranet app.这是一个内网应用程序。 Added the site to the trusted sites for the Local Intranet in IE.
将站点添加到 IE 中本地 Intranet 的受信任站点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.