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
What is _dopostback in asp net?
What is the difference between GridView and Repeater controls in ASP.NET?
Why mvc is better than asp.net? : Asp.Net MVC
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What is the web.config file in asp?
What is a server cookie?
What is http response header?
What is a postback url?
Difference between application events and session events
Web API uses which library for JSON serialization?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
Explain an object, class and method.
What is caching? What are different ways of caching in asp.net?
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
If you want to write your own dot net language, what steps you will you take care?