Re: How does asp.net know whether it is a postback or not??
lander wrote:
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.
Re: How does asp.net know whether it is a postback or not??
Hello Madhur,
Each server control implements IPostBackEventH andler interface, where the
RaisePostBackEv ent is used.
IsPostBack return true if PostBack event was raised.
Re: How does asp.net know whether it is a postback or not??
Michael Nemtsev [MVP] wrote:
Hello Madhur,
>
Each server control implements IPostBackEventH andler interface, where
the RaisePostBackEv ent is used.
IsPostBack return true if PostBack event was raised.
>
You can find more discussion there
A broad category of Microsoft tools, languages, and frameworks for software development. Designed to support developers in building, debugging, and deploying applications across various platforms.
---
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
>
>how ASP.NEt differentiates between the new request and postback
Comment