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

Unable to show ajaxloading panel on page load.

2 Answers 58 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Hitesh
Top achievements
Rank 1
Hitesh asked on 16 Aug 2013, 09:46 AM
Hi Team,

I am trying to display the AjaxLoading Panel on page load, but it is not displaying. I have some other controls(buttons) and on their click event it is displaying the loding image.

I am using the below code:


<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server"/>
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel">
                <telerik:RadTreeList ID="RadTreeListAssigment" runat="server" DataKeyNames="ObjectId"
                        AllowRecursiveSelection="true" OnItemCreated="RadTreeListAssigment_ItemCreated"
                        AllowPaging="true" PageSize="50"  ParentDataKeyNames="EntityObjectId"
                        Width="100%" AllowMultiItemSelection="true" OnChildItemsDataBind="RadTreeListAssigment_ChildItemsDataBind"
                        OnItemDataBound="RadTreeListAssigment_ItemDataBound" GridLines="None" AutoGenerateColumns="false"
                        OnNeedDataSource="RadTreeListAssigment_NeedDataSource"  AllowSorting="true"    
                        OnItemCommand="RadTreeListAssigment_ItemCommand">
                        <Columns>
                            <telerik:TreeListSelectColumn HeaderStyle-Width="12px" UniqueName="chkBox" HeaderText="">
                            </telerik:TreeListSelectColumn>
                        </Columns>
                        <ClientSettings>
                        <Scrolling AllowScroll="true" ScrollHeight="454px" UseStaticHeaders="true" />
                        </ClientSettings>                       
                        <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
                    </telerik:RadTreeList>
                    </telerik:RadAjaxPanel>
I am also using the RadAjaxManager in master page, so cannot use it here as soln provided by other website.

Could anybody help on this.

Regards,
Hitesh

2 Answers, 1 is accepted

Sort by
0
Sandeep
Top achievements
Rank 1
answered on 16 Aug 2013, 11:08 AM
 Hi,

I am also facing similar kind of issue.

Regards,
Sandy
0
Eyup
Telerik team
answered on 21 Aug 2013, 07:09 AM
Hello,

You can use the approach demonstrated in the following article:
http://www.telerik.com/help/aspnet-ajax/ajax-show-loadingpanel-on-initial-pageload.html

For accessing the RadAjaxManager from the content page, please refer to this topic:
http://www.telerik.com/help/aspnet-ajax/ajax-masterpage.html

Hope this helps.

Regards,
Eyup
Telerik
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 the blog feed now.
Tags
Ajax
Asked by
Hitesh
Top achievements
Rank 1
Answers by
Sandeep
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or