views:

21

answers:

1

Hello,

This is a general question really. I had read some where, it may of been an Microsoft whitepaper or blog I am really not sure as I dont have the link right now.

Basically, the person was describing that (of which he referred to AJAX.Net 1.0) when using an update panel, although you would expect only the controls and components associated to be updated/refreshed, the entire page is submitted with the request in the update panel.

Obviously this defeats the purpose of AJAX when the design is to minimize traffic sent to and from the server. In this case you might as well do a full post back for the page. I guess from a cosmetic point of view, AJAX.Net does the trick as intended but behind the scenes doesn't do what you would expect.

Now this could well of been resolved in later versions I just can't confirm this. I have searched Google high and low for an answer.

What the person said was to use JQuery as this offers true optimized traffic flow when updating, which of course it does, so this is why I ask have Microsoft done the same with their later versions.

Just thought I'd ask you lot before attempting the impossible task of asking someone in Microsoft.

I'll have a look for the link when I get home and if I find it I'll add it here just so you don't think I'm off my rocker. :)

A: 

Hi,

This post ASP.Net AJAX Not Working (Full page postback) explains pretty well about the problem and the solution.

Cheers

Ramesh Vel
Thanks Ramesh, I'm not 100% sure if this answers my intended question though.Is this a fix for Ajax 1.0/1.1 on IIS6/IIS7 or is this a requirement for AJAX 2.0 or AJAX 3.0 on IIS6/IIS7 to allow parital post backs which encapsulate only the required controls + a little overhead? My questions was does AJAX2.0+ allow true partial postbacks just as JQuery allows? Again there is a specific question here as a MS employee (pretty sure it was) stated in a blog post that with AJAX1.0 although the << impression >> was that a partial postback is processed in fact the entire postback is sent.
Anthony