Loading Panel does not work

2 posts, 0 answers
  1. Abdul
    Abdul avatar
    12 posts
    Member since:
    Nov 2010

    Posted 29 Dec 2010 Link to this post

    when i was using RadAjaxManager and RadAjaxLoadingPanel it's work in my testing project just like this
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %>
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
         
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" BackgroundPosition="None">
        </telerik:RadAjaxLoadingPanel>
         
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Button1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManager>
         
        <asp:Panel ID="Panel1" runat="server">
        <table>
        <tr>
        <td>UserId:</td>
        <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Invalid Name" ControlToValidate="TextBox1"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
        <td>Password:</td>
        <td><asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox></td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Invalid Password" ControlToValidate="TextBox2"></asp:RequiredFieldValidator></td>
        </tr>
        </table>
         
        <div><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox5" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox6" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox7" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox8" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox9" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox10" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox11" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox12" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox13" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox14" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox15" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox16" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox17" runat="server"></asp:TextBox></div>
        <div><asp:TextBox ID="TextBox18" runat="server"></asp:TextBox></div>
        </asp:Panel>
        <div><asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" /></div>
        </form>
    </body>
    </html>

    protected void Button1_Click(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(2000);
            Response.Redirect("default3.aspx");
        }

    but when i was use same thing in my major projects it does not work here it isplz help and reply urgently i'm waiting.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 03 Jan 2011 Link to this post

    Hello Abdul,

    Could you please try to set the LoadingPanel as default loading Panel in the RadAjaxManager tag and verify of this makes any difference. Also I would suggest you to show and hide the panel explicitly as it’s described in the following help topic.


    Best wishes,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top