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
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
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?
What is cross page posting in asp net?
What is the typical session identifier?
How long do session variables last?
What is asp according to you?
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
Please briefly explain the usage of global.asax?
What is %20 in a url?
What is a page life cycle?
List the asp.net validation controls?
Define page fragment caching?
Which class is used to send an email message from an ASP.NET Web page?
What is the size of Get method and how much data it can store?
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?