Re: IsPostBack == true, even though its a callback
* Göran Andersson wrote:
Angel Of Death wrote:
>
>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.
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).
Re: IsPostBack == true, even though its a callback
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.
Comment