Show RadAjaxLoadingPanel without changing theme

3 posts, 0 answers
  1. KTK
    KTK avatar
    12 posts
    Member since:
    Oct 2013

    Posted 07 Feb 2014 Link to this post

    I have a problem with RadAjaxLoadingPanel. I'm not able to use it the right way. There is a sample of my code here. LoadingPanel starts work after I'll change skin with SkinManager dropdown. Could anybody help me and tell me what I have to do to make it work without this trick?

    My page:

    <form id="form1" runat="server">
           <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
           <telerik:RadSkinManager ID="SkinManager1" runat="server" ShowChooser="true" />
           <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                   <telerik:AjaxSetting AjaxControlID="Panel1">
                           <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
               <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="275px" Style="padding-top: 15px; padding-left: 15px">
                   <asp:Button ID="Button1" runat="server" Text="Click to see the loading image" OnClick="Button1_Click"></asp:Button>
           <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">

    Code behind:
    namespace TelerikWebApp1
        public partial class WebForm1 : System.Web.UI.Page
            public void Button1_Click(object sender, EventArgs e)
            protected void Page_Load(object sender, EventArgs e)

    Thanks for any help.
  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 12 Feb 2014 Link to this post

    Hello Jan,

    In order for the RadAjaxLoadingPanel to work correctly, its Skin property should be set. In your scenario it should be enough to just set the Skin property to Default:
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">

    As documented in this help article, the default skin of the RadAjaxLoadingPanel is "", so if no skin is explicitly set, the loading panel will have nothing to display.

    Hope that helps.

    Konstantin Dikov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. KTK
    KTK avatar
    12 posts
    Member since:
    Oct 2013

    Posted 12 Feb 2014 in reply to Konstantin Dikov Link to this post

    Thank you for your help.
Back to Top