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 session mode in asp.net?
Is session server side or client side?
Explain about asp.net state management?
What is asp.net master page?
How to find last error which occurred?
what is AutoEventWireUp and what is the use of This property explain in details?
Explain how can we inherit a static variable?
How can I open ashx file in mobile?
How do session tokens work?
What is variable and constant in .net programming language?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
What is query string in asp.net?
Which is the parent class of the ASP.NET server control?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Which is faster viewbag or viewdata?