IsPostBack == true, even though its a callback

  • Thread starter Thread starter Angel Of Death
  • Start date Start date
A

Angel Of Death

How come if I have a server side callback function, the IsPostBack value
is always true , when I check it in the Page_Load ?
 
Angel said:
How come if I have a server side callback function, the IsPostBack value
is always true , when I check it in the Page_Load ?

Because a callback uses postback.
 
* Göran Andersson said:
Because a callback uses postback.

Does it?

I was under the impression that a callback doesn't use post back since
we're using it via some ASP.NET control that explicitly states that it
uses callbacks so that postbacks are not used (causing a page re-load).

So are they lying?
 
So are they lying?

Yes and no. The data is posted back to the server, but without a page
refresh. IsPostback == true because data has been posted back to the
server, IsCallback is also true because it's a client-side call back
request.


I assume that IsPostback is set to true when the request to the page
contains form data.
 
Back
Top