我有一個UpdatePanel和計時器。上傳面板和定時器完全刷新頁面:(
我想刷新只是我的UpdatePanel但是當我把一個計時器裏面的UpdatePanel它不工作,當我把它超出了我的頁面它
我應該怎麼做
<asp:UpdatePanel runat="server" ID="updLastAouction" UpdateMode="Conditional">
<ContentTemplate>
مزایده شماره : <asp:Label runat="server" ID="lbAuctionID"></asp:Label>
<br/>
<div style="margin-bottom: 10px;">
آخرین قیمت پیشنهادی :
</div>
<asp:Label runat="server" ID="lbLastOrderPrice"></asp:Label>
<div class="lastBidder">
<div style="margin-bottom: 10px;">
آخرین پیشنهاد دهنده
</div>
<asp:Label runat="server" ID="lbLastBidder">ندارد</asp:Label>
</div>
<div class="lastBidder" style="margin-top:5px;margin-bottom: 5px;">
<div class="font">
زمان باقی مانده</div>
<asp:Label runat="server" ID="lbLeftTime" Text='<%#DateTime.Now.ToLongTimeString() %>'></asp:Label>
<br/>
</div>
<asp:Button runat="server" ID="btnLastAouction" Text="برای شرکت عضو شوید"
onclick="btnLastAouction_Click"/>
</ContentTemplate>
</asp:UpdatePanel><asp:Timer ID="timerLastAouction" runat="server" Interval="1000"
OnTick="timerLastAouction_Tick" />
爲什麼它必須在更新面板內? – Oded 2012-01-02 23:34:22
,因爲我想更新只是更新面板不頁 – 2012-01-02 23:47:07