Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Difference between Callbacks and Postback in
ASP.NET?



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

Post New Answer

More ASP.NET Interview Questions

What is cached data phone?

0 Answers  


Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?

0 Answers   InfoAxon Technologies,


How do you a replicate a set of controls across a number of ASP Pages

2 Answers  


Difference between Htttppost and Httpget Methods?

3 Answers   Infosys, Microsoft,


what is the difference between this.controls and page.form1.controls and me.controls?

2 Answers   FactorH,


Difference between abstract factory pattern and factory method pattern in .NET with example.

3 Answers   ACS, IBM, Keane India Ltd,


page life cycle of asp.net.

4 Answers  


Explain the Session state management options available with ASP.NET?

0 Answers   Siebel,


what is meant by sitemapnode ?

0 Answers   Netsweeper,


About CLR, reflection and assemblies?

0 Answers   Microsoft,


what is Master pages in asp.net? what is the advantages and disadvantages?

3 Answers  


True or False: To test a Web service you must create a windows application or Web application to consume this service?

1 Answers  


Categories