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



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

Answer / alb.shah

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.

Callback is also the form of Postback, but the difference
is in postback execute a complete page life cycle and whole
page redraw, in callback only specific portion (Contorl) is
executed/redraw using client side scriptiong.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the importence of the INTERFACE? but not the inheritence concept?and why we r declaring the empty methods in that? we can directly implements with in the class know? Tell me the importence?

2 Answers  


What would be the salary of an Asp.net developer with 1 and half year experience in indian rupees..??

5 Answers  


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

0 Answers  


What is SOAP, UDDI and WSDL ?

2 Answers   Infosys, Network, TCS, Wipro,


Where is cookie used in asp.net?

0 Answers  






What is state management react?

0 Answers  


Disable browser cache for entire ASP.NET website?

0 Answers   HCL,


How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  


What is the function of the ViewState property?

0 Answers   MindCracker,


What are the different method of navigation in asp.net?

0 Answers  


what is COM Object in Dot net?

6 Answers   CTS,


What are the main advantages of using asp.net?

0 Answers  


Categories