Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > LoadingPanel and UserControls
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered LoadingPanel and UserControls

Feed from this thread
  • Travis avatar

    Posted on Jan 20, 2011 (permalink)

    I have a grid that I reuse through out the web app.  Since this is the case, I decide to create a user control for the grid.  When I did this, I notice the loading panel no longer appears.  Here's my ajaxmanager code on the page.


    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="SearchButton">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="SearchResultsGrid" LoadingPanelID="LoadingPanelUC" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="SearchResultsGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="SearchResultsGrid" LoadingPanelID="LoadingPanelUC" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>


    Here is the usercontrol:       
    <div class="grid_12">
        <uc:AccountsGrid runat="server" ID="SearchResultsGrid"/>
    </div>

    What am I doing wrong?

  • Travis avatar

    Posted on Jan 20, 2011 (permalink)

    Per this article:
    http://www.telerik.com/help/aspnet/ajax/ajxloadusercontrols.html
    I tried wrapping the user control with a panel and referencing it in the radajaxmanager.  No dice.  Thanks again for any help.

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Jan 21, 2011 (permalink)

    Hi Travis,

    Could you please let me know if the RadAjax LoadingPanel has skin set to it? Also please try to show and hide the loading panel explicitly using the following help topic.


    Greetings,
    Maria Ilieva
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Travis avatar

    Posted on Jan 21, 2011 (permalink)

    Loading panel has no skin and is set like the code above shows.

    I'll take a look again at this article, but didn't want to have to go this route as I'll have to implement this on every page that has this grid (user control).. which somewhat defeats the purpose of the user control.

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Jan 24, 2011 (permalink)

    Hello Travis,

    Try to set Skin="Default" for the RadAjaxLoadingPanel and verify if this makes any difference.
    Also note that ion this scenario it will not be necessary top set it in each UserControl but you could add this script in the main page where the main RadAjaxManager is laced and use its client events.

    Regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Travis avatar

    Posted on Feb 2, 2011 (permalink)

    Well, I tried both suggestions.  Neither work for me.  Any other ideas?

    Should have anything special within the user control?

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 3, 2011 (permalink)

  • Travis avatar

    Posted on Feb 3, 2011 (permalink)

    Not sure I follow that last post.

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 3, 2011 (permalink)

    Hi Travis,

    Please try to wrap the UserControl into always visible asp Panel and add this panel into the RadAjaxManager settings instead of the UserControl itself. Let me know if this helps.


    Kind regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Travis avatar

    Posted on Feb 3, 2011 (permalink)

    I did something like the below so that I could control the placement of the panel.  When I did this, I was able to position it on the page in such a way that I wanted (and it WAS visible).  Thanks!

    <telerik:RadAjaxLoadingPanel ID="SearchLoadingPanel" runat="server" SkinID="crawler"  IsSticky="true" 
        Style="top: 160px; left: 400px; position: absolute; z-index:99999;">
        <uc:LoadingPanel ID="LoadingPanelUC" runat="server" />
    </telerik:RadAjaxLoadingPanel>

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > LoadingPanel and UserControls