> How does asp.net know to set the Page.IsPostBack property exactly???
>
> Would somebody detail this, thanks very much...
When the page is submitted, the ID of control is also sent which caused the
postback.
And because of this ID, ASP.NET is able to execute the event handler for
that control.
I think thats how ASP.NEt differentiates between the new request and
postback.

Signature
Madhur
http://madhurahuja.blogspot.com
Michael Nemtsev [MVP] - 02 Mar 2008 13:31 GMT
Hello Madhur,
Each server control implements IPostBackEventHandler interface, where the
RaisePostBackEvent is used.
IsPostBack return true if PostBack event was raised.
You can find more discussion there http://forums.asp.net/t/1198506.aspx
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
M> how ASP.NEt differentiates between the new request and postback
M>
Madhur - 03 Mar 2008 07:17 GMT
> Hello Madhur,
>
[quoted text clipped - 13 lines]
>
>> how ASP.NEt differentiates between the new request and postback
Thanks Michael

Signature
Madhur
http://madhurahuja.blogspot.com
> How does asp.net know to set the Page.IsPostBack property exactly???
>
> Would somebody detail this, thanks very much...
Well, looking at Page class with Reflector it seems there are few
rules that affect the flag. For the most part its value depends on
whether request has __VIEWSTATE or __EVENTTARGET parameters.
Thanks,
Sergey