Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Ajax > What is the CORRECT way to use the Rad Ajax Loading panel...

Not answered What is the CORRECT way to use the Rad Ajax Loading panel...

Feed from this thread
  • mark baer Intermediate avatar

    Posted on Mar 25, 2011 (permalink)

    I have a fairly complex page with Multiple Update Panels and I usually have a RadGrid that when somebody selects an item, it updates a Form with the details.  I've tried putting the Ajax Loading Panel and Manager on this page and other pages and I just don't think I'm using it right.  I know I select a control that initiates the request, then I choose the control or controls that get updated, but time after time I get different Javascript error message stating things like:

    Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_MainContent_ctl00_MainContent_RadAjaxProjectPanelPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

    or something similar...I've seen the examples, but I guess what I am looking for is a straight forward, Step 1, Step 2, Step 3...because apparently whatever I am doing is not working. 

    We are using the latest version of the Tools.  We just moved from using the Trial/Demo software to the Live version.  Visual Studio 2010, .NET 4.0(ASP.NET/Ajax of course)

    I have been successful getting the RadGrid and Comboboxes working.  I would really like to get the Loading panel working soon.

    thanks

    mark

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Mar 29, 2011 (permalink)

    Hello Mark,

    The described error most commonly appears in cases when wrapped UpdatePanels appear on the page.
    In scenario like yours the correct way for Ajaxifying the controls is to use single RadAjaxManager on the page. Please remove all UpdatePanels form the page. Add single RadAjaxManager and RadAjaxLoadingPanel on the page. Add those LoadingPanel to be the default loading panel in the RadAjaxManager settings. Add a setting in which the RadGrid control updates the mentioned form.

    Let me know if this helps.


    All the best,
    Maria Ilieva
    the Telerik team

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • mark baer Intermediate avatar

    Posted on Mar 30, 2011 (permalink)

    I tried what you mentioned and I still have problems.  It's a little more complex than that.

    I have a "Panel" on the right side of the screen that slides in/out and serves as a "Search" panel.  People can enter search criteria there and click the "Search" button. 

    On the rest of the page is an Accordian(hopefully, will be a RadPanel soon)...In the top part of the Accordian is a RadGrid with the Search Results.  When the Search Results come back, the top part "Expands" to reveal the Grid and it's results.

    When the person clicks on an item in the Grid, the top part of the Accordian collapses, and the bottom expands to show the Details of the item selected in the Grid...

    I hope this makes sense.  So 1, Ajax Loading panel should display when the user "Searches".  2, the Ajax Loading panel should display when the user clicks on the Grid and we load the Details in the bottom...

    I've gotten it to where the Ajax Loading panel just displays over the entire page, but I still get the Javascript errors when it is done processing. 

    Thanks, Mark.

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Apr 1, 2011 (permalink)

    Hello Mark,

    As the scenario you need to achieve is rather complex I would suggest you to open a regular support ticket and send us sample runnable application which shows the exact functionality you need to achieve. Thus we will be able to debug it locally and verify what the exact reason for the mentioned error is and provide proper solution.


    All the best,
    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Ajax > What is the CORRECT way to use the Rad Ajax Loading panel...
Related resources for "What is the CORRECT way to use the Rad Ajax Loading panel..."

ASP.NET AJAX Features  |  Documentation  |  Demos  | Step-by-step Tutorial  ]