What is Difference between Callbacks and Postback in ASP.NET?

Answer Posted / ziya

Callback : It is a way to send a request to the web page
from the client script. Postback is an expensive call with
processing overhead. In callback a client function sends a
request and a special marked method is invoked on the
server. It does the processing & returns the value which is
received by another client function to process the result.
To have client side callbacks, the page has to implement
ICallbackEventHandler & implement functions
RaiseCallBackEvent & GetCallBackResult.

PostBack: Postback is the event which sends the form data to
the server. The server processes the data & sends it back to
the browser. The page goes through its full life cycle & is
rendered on the browser. It can be triggered by using the
server controls.

Is This Answer Correct ?    39 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is postback in asp. Net?

765


Is react a template engine?

680


How to do state management in ASP.NET?

799


In which event of the page viewstate is available?

643


What are Authentication and Authorization?

826


What are the advantages and limitations of query string?

791


How long should a session id be?

731


What is different in .net 1.1 and .net 2.0?

759


Which object wraps the state or data of a user?

745


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

696


Explain the significance of routing? : asp.net mvc

771


How would you get asp.net running in apache web servers? Explain it's limitations.

727


Explain the advantages of passport authentication.

676


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

901


What are the two properties that are common on every validation control?

769