
UpdatePanel中的Button执行过之后,UpdatePanel之外的Button点击都无反应
<asp:UpdatePanel UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:Label runat="server" Text=""></asp:Label>
<asp:Button runat="server" Text="取号" />

</ContentTemplate>
</asp:UpdatePanel>
点击btn这个Button之后,执行btn_Click事件,把从中取出来的值付给lblText,赋值是正常的,但是这个执行完之后,页面上其它的按钮无论怎么点击都没有反映了,请问高手这是怎么回事?我的页面上也没有别的什么东西,只放了一个GridView还有其它的一些TextBox控件,不过这些都不包含在UpdatePanel 里面。updatepanel
[解决办法]
C# code <tr><td>行业选择:</td><td><asp:UpdatePanel runat="server"><contenttemplate><asp:DropDownList runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged"></asp:DropDownList> <asp:DropDownList runat="server"></asp:DropDownList></contenttemplate><Triggers><asp:AsyncPostBackTrigger ControlID="DropDownList3" EventName="SelectedIndexChanged" /></Triggers></asp:UpdatePanel></td></tr>// <Triggers>这个触发的属性去配置一下看看,点你的UpdatePanel 控件 然后属性窗口的<Triggers>(Collection)那里
[解决办法]
C# code<asp:ScriptManager runat="server" EnablePartialRendering="true"></asp:ScriptManager>
[解决办法]
很奇怪,在UpdatePanel外的不会有影响的啊
再多贴点代码看看!
[解决办法]
呵呵 你把那些东西都放在 UpdataPanel里面看看 可能是没有回发操作吧一块被UpdataPanel限制了.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-30682-1.html
不腻么
萨达姆是民选合法总统
放在家里不放心