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 web router?
What are the uses of reflection?
Is it possible to apply themes to an asp.net application? If yes, then how?
How many types of Cookies are available in ASP.NET?
What is the importance of Global.asax in ASP.NET?
Is web config mandatory?
What is _viewstart?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
How do I know asp.net mvc version? : Asp.Net MVC
In order to get assembly info which namespace we should import?
List down the sequence of methods called during the page load.
Does web services support data reader like pom project?
Can you use Web API with ASP.NET Web Form?
What are the various session state management options provided by asp.net?