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
Why session is necessary in web application?
What is authorization in asp.net?
What are assemblies and namespaces and explain the difference between them ?
Explain how do you validate the controls in an asp .net page?
In asp.net, how can you validate drop down box?
What is query string?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What is cookies in asp net?
What are the advantages of passport authentication?
Can more than one person use the same login?
How do u optimize a query in asp.net?
What is web configuration file and how to use in web application
What are the difference between function and stored procedure in .net programming language?
What is Partial PostBack in ASP.NET?
What parameters can you pass in the url of the api? Can get and post use the same url?