总是提示:
“ImageButton”的控件“ibtDone”必须放在具有 runat=server 的窗体标记内
但是代码没什么错误:
<asp:ImageButton id="ibtDone" runat="server" ImageUrl='<%#PageBase.strOtherWebRoot+"/images/Button/ibt_Confirm.gif"%>'> </asp:ImageButton>不知道是什么原因.求助!!!
“ImageButton”的控件“ibtDone”必须放在具有 runat=server 的窗体标记内
但是代码没什么错误:
<asp:ImageButton id="ibtDone" runat="server" ImageUrl='<%#PageBase.strOtherWebRoot+"/images/Button/ibt_Confirm.gif"%>'> </asp:ImageButton>不知道是什么原因.求助!!!
ImageButton
</form>
<form id="form1" runat="server">
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="985" align="center" border="0">
<TR>
<TD><FONT face="宋体">
<asp:ImageButton id="ibtDone" runat="server" > </asp:ImageButton>
<TD>
</TR>
</TABLE>
</form>
</body>
</HTML>这样就OK里面.注意 :Form不能潜套Form