【发布时间】:2013-02-13 20:03:22
【问题描述】:
ImageButton 可以工作,但它不会更新更新面板,因此根本没有显示任何变化。
这是我的更新面板代码:
<asp:UpdatePanel ID="UPConfig" runat="server" UpdateMode="Conditional">
<ContentTemplate >
STUFF
<asp:ImageButton ID="ModT" runat="server" ImageUrl="images/config.png" width="25px" height="25px"/>
STUFF
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ModT" EventName="Click"/>
</Triggers>
</asp:UpdatePanel>
我似乎也无法添加 AutoPostBack="true" 属性。可以这样吗?
【问题讨论】:
标签: asp.net .net updatepanel imagebutton autopostback