Question

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 visible when I perform action.

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.

Was it helpful?

Solution

Why don't you try using RadAjaxPanel around your user controls, or you can also use RadAjaxManagerProxy on user control page that will do post back of your control itself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top