进度条或指标栏 [英] progress bar or guage bar

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

问题描述

大家好,


是否有可能在asp中进行量程栏的进度条?如果可能的话可以

有人在上面显示一些示例代码。


非常感谢,

Rob

解决方案

取决于......但基本上,不是。 ASP在整个

服务器和HTML(如果向下刷新)中被整理。个人.....用一个

动画GIF并隐藏/显示它。

参见 http://www.darkfalz.com/1058


-

- -------------------------------------------------- -------

Curt Christianson(Software_AT_Darkfalz.Com)

所有者/首席设计师,DF-Software
http://www.Darkfalz.com

----------- ----------------------------------------------

...提供免费脚本&每个人的代码snippits ...

----------------------------------- ----------------------


" Rob" < HD *********** @ btopenworld.com>在消息中写道

新闻:是********** @ titan.btinternet.com ...

大家好,

是否可以在asp中进行量程条的进度条?如果可能,
可能会有人在上面显示一些示例代码。

非常感谢,
Rob


如果您创建一个按钮(< INPUT

type =" button" />),然后在页面内容加载时,您可以执行''类型''进度条使用嵌入式

Javascript更改按钮的值(例如文本)。

我认为你必须设置Response.Buffer = True并重复调用

编写JavaScript位后的Response.Flush。


Chris。


" Curt_C [MVP]" < Software_AT_Darkfalz.com>写在消息

新闻:u7 ************** @ TK2MSFTNGP11.phx.gbl ...

取决于什么。 ......但基本上,不。 ASP整个以
的形式在服务器上进行处理,而HTML则在下游流式处理。个人.....用一个
动画GIF并隐藏/显示它。
参见 http://www.darkfalz.com/1058

-
----------------- -----------------------------------------
Curt Christianson(Software_AT_Darkfalz。 Com)
所有者/首席设计师,DF-Software
http:// www。 Darkfalz.com
--------------------------------------- ------------------
..提供免费脚本&每个人的代码snippits ......
--------------------------------------- ------------------

抢 < HD *********** @ btopenworld.com>在消息中写道
新闻:是********** @ titan.btinternet.com ...

大家好,

是吗可以在asp中做一个量程条的进度条吗?如果可能


可以

有人在上面显示一些示例代码。

非常感谢,
Rob



这取决于你在做什么....


如果你有100个提交的记录要在服务器上更新(它可能需要

a)然后你可以每10条记录写一次更新并将其刷新到客户端的
。这看起来非常准确。


Tim。


" Curt_C [MVP]" < Software_AT_Darkfalz.com>在消息中写道

news:eO ************** @ TK2MSFTNGP11.phx.gbl ...

这真的是与我发布的链接没什么不同。它仍然不是
的准确百分比,而且只是具有相同结果的kludge。你会不会有一个不准确的阅读或一个简单的动画/信息表明它还在处理?

-
------- -------------------------------------------------- -
Curt Christianson(Software_AT_Darkfalz.Com)
所有者/首席设计师,DF-Software
http://www.Darkfalz.com
----------------------------- ----------------------------
..提供免费脚本&每个人的代码snippits ......
--------------------------------------- ------------------

克里斯巴伯 < CH *** @蓝canoe.co.uk.NOSPAM>在消息中写道
新闻:uc ************** @ TK2MSFTNGP12.phx.gbl ...

你可以做一个''那种' '进度条,如果你创建一个按钮(< INPUT
type =" button" />)然后当页面内容加载时使用嵌入的
Javascript来更改值(例如文本)按钮。
我认为你必须设置Response.Buffer = True并在编写JavaScript位后反复调用
Response.Flush。

Chris。

Curt_C [MVP]" < Software_AT_Darkfalz.com>在消息中写道
新闻:u7 ************** @ TK2MSFTNGP11.phx.gbl ...

取决于......但是基本上,不。在整个
中,在

服务器和HTML(如果向下刷新流)中重新编译ASP。个人.....用一个
动画GIF并隐藏/显示它。
参见 http://www.darkfalz.com/1058

-
----------------- -----------------------------------------
Curt Christianson(Software_AT_Darkfalz。 Com)
所有者/首席设计师,DF-Software
http:// www。 Darkfalz.com
--------------------------------------- ------------------
..提供免费脚本&每个人的代码snippits ......
--------------------------------------- ------------------

抢 < HD *********** @ btopenworld.com>在消息中写道
新闻:是********** @ titan.btinternet.com ...
>大家好,
>
>是否可以在asp中进行量程条的进度条?如果



可能
>有人在上面显示一些示例代码。
>
>非常感谢,
> Rob
>
>





Hi all,

Is it possible to do a progress bar of gauge bar in asp? If possible could
someone show some sample code on it.

Many thanks,
Rob

解决方案

Depends on what for.... but basically, nope. ASP is redered in whole at the
server and the HTML if flushed down stream. Personally.....go with an
animated GIF and hide/show it.
See http://www.darkfalz.com/1058

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Rob" <hd***********@btopenworld.com> wrote in message
news:be**********@titan.btinternet.com...

Hi all,

Is it possible to do a progress bar of gauge bar in asp? If possible could someone show some sample code on it.

Many thanks,
Rob



You can do a ''sort of'' progress bar if you create a button (<INPUT
type="button"/>) and then as the page content loads use an embedded
Javascript to change the value (eg. text) of the button.
I think you have to set Response.Buffer = True and repeatedly call
Response.Flush after you write the JavaScript bit.

Chris.

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...

Depends on what for.... but basically, nope. ASP is redered in whole at the server and the HTML if flushed down stream. Personally.....go with an
animated GIF and hide/show it.
See http://www.darkfalz.com/1058

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Rob" <hd***********@btopenworld.com> wrote in message
news:be**********@titan.btinternet.com...

Hi all,

Is it possible to do a progress bar of gauge bar in asp? If possible


could

someone show some sample code on it.

Many thanks,
Rob




That depends on what you''re doing....

If you have 100 submitted records to update on the server (and it might take
a while) then you can write out an update every ten records and flush it to
the client. That seems pretty accurate.

Tim.

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:eO**************@TK2MSFTNGP11.phx.gbl...

It''s really nothing much different then the link I posted. It''s still not an accurate percentage and is only a kludge with the same result. Would you
rather have an inaccurate reading or a simple animation/message indicating
it''s still processing?

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:uc**************@TK2MSFTNGP12.phx.gbl...

You can do a ''sort of'' progress bar if you create a button (<INPUT
type="button"/>) and then as the page content loads use an embedded
Javascript to change the value (eg. text) of the button.
I think you have to set Response.Buffer = True and repeatedly call
Response.Flush after you write the JavaScript bit.

Chris.

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...

Depends on what for.... but basically, nope. ASP is redered in whole at

the

server and the HTML if flushed down stream. Personally.....go with an
animated GIF and hide/show it.
See http://www.darkfalz.com/1058

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Rob" <hd***********@btopenworld.com> wrote in message
news:be**********@titan.btinternet.com...
> Hi all,
>
> Is it possible to do a progress bar of gauge bar in asp? If


possible could
> someone show some sample code on it.
>
> Many thanks,
> Rob
>
>





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

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