日期:2014-05-18  浏览次数:20497 次

DateTimePicker下拉按钮失效
代码如下:
<tr id="task" runat="server" >
  <td colspan="5" style="height: 25px; background-color: #ffffff; text-align:center">
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
  <td style="width: 50px; height: 25px; text-align: center">
  <asp:Label ID="Label4" runat="server" Text="起止日期"></asp:Label>
  </td>
  <td style="width: 140px; text-align: center">
  <DTP:DateTimePicker ID="DtpBegin" runat="server" Width="140px" HorizontalAlign="Center" />
  </td>
  <td style="width: 20px; text-align: center">
  <asp:Label ID="Label5" runat="server" Text="至"></asp:Label>
  </td>
  <td style="width: 140px; text-align: center">
  <DTP:DateTimePicker ID="DtpEnd" runat="server" Width="140px" 
  HorizontalAlign="Center" Height="25px" />
  </td>
  </tr>
  </table>
  </td>
  </tr>
我其他位置的DateTimePicker都很正常,是不是因为用了<tr id="task" runat="server" >呢,请各位大侠帮帮忙呀!

------解决方案--------------------
用层代替,写到你的行里,用层来代替!