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


Please Help Members By Posting Answers For Below Questions

Describe the sequence of action takes place on the server when ASP.NET application starts first time?

618


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

598


What is cross page posting in asp net?

530


What is the typical session identifier?

572


How long do session variables last?

530






What is asp according to you?

526


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

595


Please briefly explain the usage of global.asax?

532


What is %20 in a url?

542


What is a page life cycle?

567


List the asp.net validation controls?

521


Define page fragment caching?

517


Which class is used to send an email message from an ASP.NET Web page?

538


What is the size of Get method and how much data it can store?

561


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1419