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

How would you implement inheritance using VB.NET/C#?

3 Answers   Siebel Systems,


How Session outproc in Sqlserver stored?

0 Answers   CGI,


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  


Briefly describe the role of global.asax?

0 Answers  


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

0 Answers   Siebel Systems,






Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....

6 Answers   Logica CMG,


Do session use cookies in asp net?

0 Answers  


What are app services?

0 Answers  


hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance

3 Answers  


can we call webservice in Html form?

1 Answers   Bank Of America, BirlaSoft, Microsoft,


What do you mean by authentication and authorization

3 Answers  


Briefly describe different techniques for ASP.NET State Management?

6 Answers   Deloitte, Syntax Softtech,


Categories