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

COM+ Used ________________ Isolation Level

1607


Explain about asp.net caching?

655


What is a session government?

581


witch is the best insistute in sharpoint course.what abt future of share point course.

2731


Why do we need master page in asp.net?

616






Differentiate between namespace and assembly.

644


What is difference between session and viewstate?

548


What are the disadvantages of asp.net?

685


Explain the difference between webfarm and webgardens in .net?

631


What is the size of Get method and how much data it can store?

678


What are user controls?

660


What is a session in programming?

656


What are the different types of validation controls provided in ASP.NET?

753


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2440


What is inheritance and an how it be used, example with an example?

664