加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

How to change the image of a WebAsyncRefreshPanel's

发布时间:2020-12-16 23:32:05 所属栏目:大数据 来源:网络整理
导读:Knowledge Base Article: KB010076 HOWTO:How to change the image of a WebAsyncRefreshPanel's Progress Indicator The information in this article applies to: WebAsyncRefreshPanel (v6.3.20063,7.1.20071,7.2.20072) Article Created: 9/24/2007 Last

Knowledge Base Article: KB010076

HOWTO:How to change the image of a WebAsyncRefreshPanel's Progress Indicator


The information in this article applies to:
WebAsyncRefreshPanel (v6.3.20063,7.1.20071,7.2.20072)
Article Created:
9/24/2007

Last Updated:
9/25/2007

Article Type:
How To
Page Options
Average Rating:
4 out of 10

Rate this page
Print this page
E-mail this page
Add to Favorites

Summary

The WebAsyncRefreshPanel comes with its own animated image for its progress indicator. If you would like to use a different image for the progress indicator,you will need to set this on the client-side.

Step-By-Step Example

To change the WebAsyncRefreshPanel’s Progress Indicator image,you will need to handle the control’s client side InitializePanel event. In this event,you will then need to get a reference to the progress indicator itself using the WebAsyncRefreshPanel’s getProgressIndicator() method. Once you have a reference to the progress indicator,you can use its setImageUrl() method to change the image you want to use.

In JavaScript:

function WebRefreshPanel2_InitializePanel(oPanel)
{
oPanel.getProgressIndicator().setImageUrl("<name of gif file>");
}

Related Articles

HOWTO: How to hide the Progress Indicator for the WebAsyncRefreshPanel and WebTab (KB010105)

Samples

warp_progressindicator_cs.zip
How to change the WARP's Progress Indicator in C#


warp_progressindicator_vb.zip How to change the WARP's Progress Indicator in VB.Net

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读