ajax模态弹出窗口中的进度条 [英] progress bar in ajax modal popup

查看:188
本文介绍了ajax模态弹出窗口中的进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







这里我有一个要求,即我有一个ajax模式弹出窗口,两个文本字段在那里,一个按钮有...当我点击一个按钮我需要发送一封邮件...发送邮件需要时间,那时我需要显示进度条...我无法在modalpopup中添加进度条图像....





请........

Hi,


Here i got one requirement ie i have a ajax modal popup in that two textfield is there and one button is there....when i click a button i need to send one mail...for sending mail it takes time,at that time i need to show progress bar...i cant able to add progress bar image within a modalpopup....


please........

推荐答案

<asp:UpdatePanel ID="updgvProd" runat="server" UpdateMode="Conditional">
                                                                        <ContentTemplate>
                                                                            <!-- your code... -->

                                                                            <asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="updgvProd">
                                                                                <ProgressTemplate>
                                                                                    <div id="Background">
                                                                                    </div>
                                                                                    <div id="Progress">
                                                                                        <img src="../Image/loading.gif" alt="progress" style="vertical-align: middle" />
                                                                                    </div>
                                                                                </ProgressTemplate>
                                                                            </asp:UpdateProgress>
                                                                        </ContentTemplate>
                                                                    </asp:UpdatePanel>


这篇关于ajax模态弹出窗口中的进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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