我有一個更新面板和更新進度。我提出該按鈕外部更新面板,因爲,當我有更新面板內的按鈕的Response.Write是行不通的。現在移動的Response.Write外的按鈕後,是工作,但更新的進展不大。當我有外面的按鈕時,如何使它工作。如何使用更新面板內更新進度,當執行代碼的按鈕位於更新面板外
<asp:UpdateProgress ID="UpdateProgress2" runat="server">
<ProgressTemplate>
<div style="width: 338px; position: relative; top: -420px; left: 80px" class=""> <b>Please Wait...</b>
<img runat="server" id="ajaxLoader" style="background-color: White; width: 338px;" src="styles/images/loadImage.gif" alt="loading" />
</div> </ProgressTemplate> </asp:UpdateProgress>
</ContentTemplate> </asp:UpdatePanel>
<asp:Button ID="btn_upload" runat="server" Text="Upload" OnClick="upload_Click" />
當我添加觸發response.write不起作用 – Murthy 2012-02-17 13:19:20
不要忘記接受一個答案,如果它幫助你,作爲對其他人的基本禮貌... – 2012-06-06 09:17:41