使用imagebutton问题,回车不能运行imagebutton里的事件

解决方案 »

  1.   

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="1" colspan="5" class="showlist1"></td>
    </tr>
    <tr>
    <td width="40" class="showlist1"><img src="images/pic_r2_c2.jpg" width="32" height="27"></td>
    <td width="60" class="showlist1">搜索:</td>
    <td width="150" class="showlist1">
    <asp:textbox CssClass="input" id="keyword" runat="server"></asp:textbox>
    </td>
    <td class="showlist1" vAlign="middle" width="180">&nbsp;
    <asp:radiobutton class="MyButom" id="title" tabIndex="5" runat="server" Checked="True" GroupName="sertype"
    Text="标题"></asp:radiobutton>
    <asp:radiobutton class="MyButom" id="info" tabIndex="5" runat="server" GroupName="sertype" Text="简介"></asp:radiobutton>
    <asp:radiobutton class="MyButom" id="all" tabIndex="5" runat="server" GroupName="sertype" Text="综合"></asp:radiobutton></td>
    <TD class="showlist1">&nbsp;&nbsp;
    <asp:ImageButton id="ImageButton1" runat="server" ImageUrl="images/index_r7_c91.jpg "></asp:ImageButton></TD>
    </tr>
    </table>
    回车不能运行imagebutton里的事件