RadAjaxManager: all user controls are refreshed

2 posts, 0 answers
  1. FB
    FB avatar
    6 posts
    Member since:
    Jul 2008

    Posted 28 Mar 2012 Link to this post

    Hello, 

    I'm using Telerik's RadAjaxManager to update panels independently.

    On my page, I have 3 user controls: A, B, C.

    My AjaxSettings are:

    • If postback on A, update only A.
    • If postback on B, update only B.
    • I declare nothing for C.

    If I do a postback on A, I see the loading panel on A, but (using Chrome dev tool) I see data sent for A and B. Strange to me as only A has loading panel.

    If I do as postback on B, same behavior: loading panel on B but data for A and B.

    Now, if I remove from AjaxSettings the settings for B, when I do a postback on A, only data for A are sent.

    Am I wrong, or I should only see data for the "target" panel defined in AjaxSettings?

    Moreover, sometimes in our user controls we access the RadAjaxManager to add response script. Can it be related? For instance, if in B's code-behind I add script to RadAjaxManager, will the entire B content will be sent when I do a postback on A (with rule A updates A only)?

    This is really an issue in our app.

    Thanks in advance for any help.

  2. FB
    FB avatar
    6 posts
    Member since:
    Jul 2008

    Posted 28 Mar 2012 Link to this post

    Fixed by using RadAjaxPanel.
Back to Top