b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

updateprogress_updatepanel_net updatepanel

电脑杂谈  发布时间:2017-02-05 12:41:47  来源:网络整理

updateprogress_updatepanel_net updatepanel

updatepanel

UpdatePanel中的Button执行过之后,UpdatePanel之外的Button点击都无反应

<asp:UpdatePanel UpdateMode="Conditional" runat="server">

<ContentTemplate>

<asp:Label runat="server" Text=""></asp:Label>

<asp:Button runat="server" Text="取号" />

net updatepanel_updateprogress_updatepanel

</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

    相关阅读
      发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

      热点图片
      拼命载入中...