Hi ,
Is the server or the client in control in AJAX, explain with scenario?
Thanks
Server or the client in control in AJAX
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Mar 24, 2012, 10:59 PM EDT
Its based on the requirement.
If you have a grid and you do not want to posted back on the every time to the server then you can use the update panel in AJAX. This time it will be the server side control.
If you have requirement like you just want to check the status or simple operation then you can prefer to use the html control and use the xmlHttpRequest object in javascript.
Any complex logic with the control is always prefer to use the server side control.