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

RadLoadingPanel causes user control(Datalist) to not display

3 Answers 54 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
JEREMY BOND
Top achievements
Rank 1
JEREMY BOND asked on 12 May 2011, 12:18 AM
I've implemented the RadAjaxPanel on my ascx page. using the method described here http://www.telerik.com/help/aspnet-ajax/ajax-loadingpanel-animation.html

Everything appears to be working within the ascx page except the datalist on the master page never displays. If I remove the RadAjaxLoadingPanel from the ascx page the datalist functions as expected.

Any ideas? Or places to start looking?

<script type="text/javascript">
    function MyClientShowing(sender, args) {
        document.title = "show " + new Date(); args.get_loadingElement().style.border = "2px solid red"; args.set_cancelNativeDisplay(true);
        $telerik.$(args.get_loadingElement()).show("slow");
    }
    function MyClientHiding(sender, args) {
        document.title = "hide " + new Date(); args.get_loadingElement().style.border = "2px solid blue"; args.set_cancelNativeDisplay(true);
        $telerik.$(args.get_loadingElement()).hide("slow");
    }
</script>
</telerik:RadCodeBlock>
  
<style type="text/css">
    .hiddencol
    {
        display:none;
    }
    .viscol
    {
        display:block;
    }
</style>
  
  
<asp:Panel ID="pnl_CartContent" runat="server" cssclass="collapsePanel" Height="100%">
<table width="264"> ... </table>
</asp:Panel>
  
<ACTK:AlwaysVisibleControlExtender ID="avce_Cart" runat="server" TargetControlID="pnl_CartContent" VerticalSide="Top" VerticalOffset="225" HorizontalSide="Left" HorizontalOffset="650" ScrollEffectDuration=".1"  />
                      
                  <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" OnClientShowing="MyClientShowing" OnClientHiding="MyClientHiding" />
                        <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
                            <AjaxSettings>
                                <telerik:AjaxSetting AjaxControlID="btn_Search">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="pnl_SearchHeaderMain" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                            </AjaxSettings>
                    </telerik:RadAjaxManager
  
<asp:Panel id="pnl_SearchHeaderMain" runat="server">
<div>...</div>
</asp:Panel>

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 17 May 2011, 11:48 AM
Hi Jeremy,

I tried to replicate the described issue locally but to no avail. Please find attached a small runnable example which works correctly on my side. test it locally and let me know what the difference in your case is.

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.

0
JEREMY BOND
Top achievements
Rank 1
answered on 18 May 2011, 08:18 PM
I miss spoke, the ascx control is included in a aspx page, either way the loading panel works in a simple solution.

This is the weird thing that I'm noticing.

the datalist control on the page exists during debug but if I view the page source after the page has been rendered it does not contain the datalist control.

0
Maria Ilieva
Telerik team
answered on 25 May 2011, 09:28 AM
Hello Jeremy,

It will be very helpful if you could open a regular support ticket and send us sample runnable application which demonstrates the described behaviour. Thus we will be able to debug it locally and do our best ti isolate the root cause of the issue you are facing.

Kind regards,
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.

Tags
Ajax
Asked by
JEREMY BOND
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
JEREMY BOND
Top achievements
Rank 1
Share this question
or