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

Is it possible to change custom loading image ?

3 Answers 65 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Aravind
Top achievements
Rank 1
Aravind asked on 17 Aug 2013, 12:26 AM
Hi
  Is it possible to change the custom loading image in radajaxpanel ?
i am using following code 
       <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
'Here can use custom image insted of default one ?
</telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" runat="server" Height="430px" Width="570px">
<table><tr><td> <telerik:RadButton ID="btnSendMail" runat="server" OnClientClicking="DataCheck" Text="Send Mail" Font-Names="Arial" Font-Size="12px" ></telerik:RadButton></td></tr>
<tr><td></td></tr>

<tr><td> <telerik:RadButton ID="btnCancel" runat="server"   OnClientClicked ="CloseMe" Text="Cancel"></telerik:RadButton></td></tr>

</table>
             </telerik:RadAjaxPanel>

if i put custom image inside of RadAjaxLoadingPanel it will show deafult and custom loading image,i need to hide the default image 

pls reply asap
   Regards
       Aravind

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 19 Aug 2013, 12:58 PM
Hi Aravind,

You can modify the RadAjaxLoadingPanel control as you would do with a normal template.
The example below shows how to set a custom Image inside the RadAjaxLoadingPanel:
<telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Width="250px" Height="75px">
    <asp:Image ID="Image1" runat="server" Width="200px" Height="50px" ImageUrl="~/Loading.gif">
    </asp:Image>
</telerik:RadAjaxLoadingPanel>

Thanks
Shinu
0
EZECHIAS
Top achievements
Rank 1
answered on 30 Jan 2019, 11:38 PM

or use this css style:

.RadAjax_Default .raDiv {
    background-image: url('../Images/loading.gif')!important;
}

0
EZECHIAS
Top achievements
Rank 1
answered on 30 Jan 2019, 11:43 PM
remember ..RadAjax_Default is for skin="Default"
Tags
Ajax
Asked by
Aravind
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
EZECHIAS
Top achievements
Rank 1
Share this question
or