日期:2014-05-18 浏览次数:20533 次
<tr>
<td style="width: 175px; text-align: right;">
行业选择:</td>
<td style="text-align: left">
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged">
</asp:DropDownList> <asp:DropDownList id="DropDownList4" runat="server"></asp:DropDownList>
</contenttemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="DropDownList3" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel></td>
</tr>
// <Triggers>这个触发的属性去配置一下看看,点你的UpdatePanel 控件 然后属性窗口的<Triggers>(Collection)那里
------解决方案--------------------
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"> </asp:ScriptManager>
------解决方案--------------------
很奇怪,在UpdatePanel外的不会有影响的啊
再多贴点代码看看!
------解决方案--------------------
呵呵 你把那些东西都放在 UpdataPanel里面看看 可能是没有回发操作吧一块被UpdataPanel限制了.