Knowledge Base Article: KB010076
HOWTO:How to change the image of a WebAsyncRefreshPanel's Progress Indicator
@H_403_9@
The information in this article applies to:@H_403_9@WebAsyncRefreshPanel (v6.3.20063,7.1.20071,7.2.20072) | Article Created:@H_403_9@9/24/2007@H_403_9@@H_403_9@Last Updated:@H_403_9@9/25/2007@H_403_9@@H_403_9@Article Type:@H_403_9@How To |
|
|||||||
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.@H_403_9@@H_403_9@In JavaScript:@H_403_9@
function WebRefreshPanel2_InitializePanel(oPanel)@H_403_9@{@H_403_9@oPanel.getProgressIndicator().setImageUrl("<name of gif file>");@H_403_9@}@H_403_9@ |