Message into radajaxloadingpanel

4 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 04 Feb 2013 Link to this post

    hi,

    you can write a message as well as the image of the loading? For example loading please wait ...

    Bye
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 04 Feb 2013 Link to this post

    Hi,

    You can modify the RadAjaxLoadingPanel control as you would do with a normal template. The example below shows how to set an Image and a Label inside the RadAjaxLoadingPanel:

    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Width="256px" Height="64px">
        <asp:Label ID="Label1" runat="server" ForeColor="Red">Loading please wait...</asp:Label>
        <asp:Image ID="Image1" runat="server" Width="224px" Height="48px" ImageUrl="~/Loading.gif">
        </asp:Image>
    </telerik:RadAjaxLoadingPanel>

    Regards,
    Pavlina
    the Telerik team
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 05 Feb 2013 Link to this post

    It works! but one question, my code loadingpanel is this:
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ImgBtninvia">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1"
                            LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
     
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
             Skin="Simple" HorizontalAlign="Center" Width="390px" BorderColor="#D5842B"
             BorderStyle="Double" BorderWidth="1px">
            <asp:Label ID="Label2" runat="server" ForeColor="Red">Loading...</asp:Label>
         </telerik:RadAjaxLoadingPanel>

    you can only create a small loadingpanel in the center of the page that i click on button, start loading and not now that the loadingpanel is as large as the ajaxpanel
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 07 Feb 2013 Link to this post

    Hello,

    Go through the forum thread below and see if it is useful for you:
    http://www.telerik.com/community/forums/aspnet-ajax/ajax/loading-panel-inside-containing-element.aspx
     
    Regards,
    Pavlina
    the Telerik team
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top