What is Difference between Callbacks and Postback in
ASP.NET?
Answer / alb.shah
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.
Callback is also the form of Postback, but the difference
is in postback execute a complete page life cycle and whole
page redraw, in callback only specific portion (Contorl) is
executed/redraw using client side scriptiong.
| Is This Answer Correct ? | 9 Yes | 0 No |
Where the cookie value is stored?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
3 Answers Allsec Technologies,
In which scenario we use Session and Cookies? With Example..
How to consume a webservice in a windows application without adding through the web reference?
How to prepare culture-specific formatting in .net.
can I use session variable in App_code Class page??
Can any one explain with the example how to capture the application error in Aplication_Error() method?
What is cross page posting in asp net?
explain code with datachaching with example
Is it possible to migrate visual interdev design-time controls to asp.net?
Which class is used to send an email message from an ASP.NET Web page?
0 Answers Sans Pareil IT Services,
How can you execute stored procedure from windows application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)