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

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
<script type="text/javascript"></script>

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>");
}

 

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值