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

Message into radajaxloadingpanel

3 Answers 116 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 04 Feb 2013, 01:59 PM
hi,

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

Bye

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Feb 2013, 05:37 PM
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.
0
Fabio Cirillo
Top achievements
Rank 1
answered on 05 Feb 2013, 10:21 AM
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
0
Pavlina
Telerik team
answered on 07 Feb 2013, 04:04 PM
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.
Tags
Ajax
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Fabio Cirillo
Top achievements
Rank 1
Share this question
or