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

RadAjaxManager: all user controls are refreshed

1 Answer 38 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
FB
Top achievements
Rank 1
FB asked on 28 Mar 2012, 12:18 PM

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.

1 Answer, 1 is accepted

Sort by
0
FB
Top achievements
Rank 1
answered on 28 Mar 2012, 03:35 PM
Fixed by using RadAjaxPanel.
Tags
Ajax
Asked by
FB
Top achievements
Rank 1
Answers by
FB
Top achievements
Rank 1
Share this question
or