更新面板更新后,确认消息和最终任务没有发生 [英] Confirmation message and final task are not happening after the updation of update panel

查看:70
本文介绍了更新面板更新后,确认消息和最终任务没有发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
最近,我遇到了一个使用更新面板和更新进度的任务.除了未更新更新面板时的最后一项任务之外,其他所有操作都正常.例如:我正在下载一些数据.为此,我正在让用户看到带有进度指示器图像的更新面板.当数据以所需的格式收集并写入时,必须将其放入屏幕上的对话框中,则什么也不会发生.完成更新过程后,我都无法向用户显示确认消息.我错过了什么吗?面板更新过程中的另一件事是,我使用div和div的不透明度冻结了GUI.是因为这个吗?这是我的HTML标记:-

Hi all,
Recently I came across a task in which I used a update panel and a update progress. Everything is working fine except the last task when the update panel is updated is not taking place. For eg: I am downloading some data. For that I am making user to see the update panel with the progress indicator image. When the data is collected and written in the desired format and it has to come in a dialogue box over the screen, nothing happens. Neither I am able to show user a confirmation message after the finishing the update process. Am i missing something ??? And one more thing during the panel is updated I freeze the GUI using a div and opacity of the div. Is it because of that ? Here is my HTML mark up:-

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                   <ContentTemplate>
                               <asp:Button ID="btnDwnload" runat="server" OnClick="btnDwnload_Click" Style="text-align: center"
                                   Text="Download" UseSubmitBehavior="false" />
                                   </ContentTemplate>
               </asp:UpdatePanel>
                           </td>
                           <td style="text-align: center">
                           <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
                           <ProgressTemplate>
                           <div style="top: 0px; height: 1000px; background-color: White; opacity: 0.75; filter: alpha(opacity=55);
                           vertical-align: middle; left: 0px; z-index: 999999; width: 1500px; position: absolute;
                           text-align: center;">

                           </div>
                               <asp:Image ID="Image2" runat="server" ImageUrl="~/images/indicator.gif" Width="100px" />
                               <br />
                               Processing...
                           </ProgressTemplate>
                       </asp:UpdateProgress>




请帮助...




Please help...

推荐答案

检查此答案
Response.End()抛出错误 [
Check this answer
Response.End() throwing error[^]


这篇关于更新面板更新后,确认消息和最终任务没有发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆