Force RAD AJAX Panel to update

11 posts, 0 answers
  1. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 29 Aug 2007 Link to this post

    Hi,

    Is there a way to force the RAD AJAX Update Panel to update in the same way you can with the MS Update Panel, for some reason the RAD one is not updating controls within when another MS Update Panel modifies the content within the RAD panel.

    Thanks
  2. John
    John avatar
    416 posts
    Member since:
    Oct 2006

    Posted 30 Aug 2007 Link to this post

    hi


    Can you please paste your complete C#/VB.NET ASPX and Javascript code here, so I can take a look at it.
    And please elaborate and give me the steps needed to reproduce the problem.

    Best...
    [John Peel]
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 31 Aug 2007 Link to this post

    I'll create a complete sample project with examples and open a support itcket if that's easier, it's quite a lot of code!
  5. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 04 Sep 2007 Link to this post

    I have now submitted a support ticket with an example regarding this thread.
  6. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 04 Sep 2007 Link to this post

    Hello Jacques,

    We will review the example and will get back to you with more info.

    Best regards,
    Stephen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Johnson
    Johnson avatar
    13 posts
    Member since:
    Apr 2007

    Posted 09 Sep 2007 Link to this post

    I'm currently using the following to trigger a postback in ajax panel to refresh the panel:

    function refreshData()  
    {  
       var pnl = <%= RadAjaxPanel1.ClientID %>;  
       pnl.AjaxReqeustWithTarget('<%= RadAjaxPanel1.UniqueID %>','');  

    It seems to be working, but the loadingpanel isn't displaying?  What am I doing wrong?  Is there a better method?
  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 10 Sep 2007 Link to this post

    Hello Johnson,

    You can directly invoke the AjaxRequest() method of the AjaxPanel in order to trigger the update, AjaxRequestWithTarget() is only being used when you need some other control to fire up its default event. Currently there is a known problem with LoadingPanel in MasterPage scenarios. If this is the case make sure the LoadingPanel is in the same namingcontainer and set the LoadingPanelID from code behind.

    Kind regards,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Alaa Majzoub
    Alaa Majzoub avatar
    49 posts
    Member since:
    Nov 2007

    Posted 17 Feb 2010 Link to this post

    How to do that from code behind?

    the idea is that i have an AjaxPanel inside a usercontrol, and i update a textbox inside that panel from the containing form, but the text is not updating unless something is HARD refreshing the panel.

    is there a way to force reload from code behind?

  10. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 17 Feb 2010 Link to this post

    Hello Alaa,

    I think that the information from the help topic below will help you achieve your goal:
    http://www.telerik.com/help/aspnet-ajax/ajxinteractionbetweenpanels.html

    Best regards,
    Sebastian
    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.
  11. Alaa Majzoub
    Alaa Majzoub avatar
    49 posts
    Member since:
    Nov 2007

    Posted 18 Feb 2010 Link to this post

    Unfortunately Sebastian, this is more a javascript solution (client side), i cannot use it since the two AjaxPanels exists in two different contexts and linking between them would be very difficult.

    isnt there a common library of module between all AjaxPanels? i imagines that there is somethings like:

    BigBrother.Execute(String.Format("$find('{0}').ajaxRequest();", RadAjaxPanel2.ClientID)); 

  12. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 18 Feb 2010 Link to this post

    Hello Alaa,

    In such case you may consider ajaxifying the entire scenario with single RadAjaxManager and specify appropriate ajax settings/invoke its ajaxRequest method when needed. Examine the implementation from the following online example for further details:

    http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/clientsideapi/defaultcs.aspx

    Best regards,
    Sebastian
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017