This is a migrated thread and some comments may be shown as answers.

Loading Panel with no Transparency on Spinner

1 Answer 205 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 2
Nathan asked on 06 Dec 2011, 12:26 AM
Hello,

Is it possible to have the Transparency set for the page (update panel), but not around the spinner? When I set the Transparency for my loading panel, it is applied to my spinner image.

My Loading Panel:
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="50" HorizontalAlign="Center" BackgroundPosition="Center" ZIndex="99999">
        <div style="background-color:#fff; width:100%; height:100%;">
            <asp:Image ID="Image1" runat="server" style="z-index:999999;margin-top:50%;" ImageUrl="~/images/SpinIndicator.gif" AlternateText="loading" />
        </div>    
    </telerik:RadAjaxLoadingPanel> 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 06 Dec 2011, 02:50 PM
Hello Nathan,

I don't think what you want to do is possible because the loading image is contained in the loading panel and it applies the opacity set cascades to the image it's contained so everything inside gets that opacity level.

The only way I can see you achieve what you want, would be to create a transparent background that you can set as the background image for your loading panel and turn off the transparency feature of the loading panel.

I hope that helps.
Tags
Ajax
Asked by
Nathan
Top achievements
Rank 2
Answers by
Kevin
Top achievements
Rank 2
Share this question
or