AJAX更新进度栏 [英] AJAX UPDATE PROGRESS BAR

查看:86
本文介绍了AJAX更新进度栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

任何人都可以帮助我如何在.NET 3.5中使用AJAX更新进度栏. 我的要求是单击按钮,然后显示图像,然后显示正在加载..."文本.

HI ALL,

CAN ANY ONE HELP ME HOW TO USE AJAX UPDATE PROGRESS BAR IN .NET 3.5.
MY REQUIRMENT IS ON CLICK OF BUTTON AN IMAGE IS DISPLAY AND TEXT "Loading..." WILL DISPLAY.

推荐答案

代码如下:
code as follows :
<asp:updateprogress id="updprogress" runat="server">
        progresstemplate>
            <asp:image id="imgprogress" runat="server" imageurl="~/images/loading.gif" />
       progresstemplate>
   asp:updateprogress>


尽管该问题被标记为已回答,但我想与您分享一些知识库文章.

看看这些示例以了解Update Progress的实现和工作:
MSDN:UpdateProgress控件概述 [ CP:ASP.NET AJAX扩展的UpdateProgress控件 [ AJAX.NET UpdateProgress控件 [ ASPNET教程: ASP.NET和C#中的AJAX UpdateProgress控件简介 [
Though the question has been marked as answered, yet I would like to share few knowldegebase articles with you.

Have a look at these samples to understand the implementation and working of Update Progress:
MSDN: UpdateProgress Control Overview[^]
CP: The UpdateProgress Control of ASP.NET AJAX Extensions[^]
AJAX.NET UpdateProgress control[^]
ASPNET Tutorial: Introduction to AJAX UpdateProgress Control in ASP.NET and C#[^]


使用此:

Use this :

<asp:updateprogress id="updprogress" runat="server">
        progresstemplate>
            <asp:image id="imgprogress" runat="server" imageurl="~/images/loading.gif" />
       progresstemplate>
   asp:updateprogress>



通过在图像"文件夹中添加名为Loading.gif的图像.



By adding the image named as Loading.gif inside the Images Folder.


这篇关于AJAX更新进度栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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