A
Amelyan
I need some help to confirm my theory!
I think I discovered something new for myself about behavior
System.Web.UI.Page.
THEORY: Every time I change control on my WebForm1 page that results in
PostBack, it is handled by a new instance of WebForm1 class, i.e. a new
instance of WebForm1 class is created every time. In general, any GET or
POST to WebForm1 will get its own new instance of WebForm1.
public class WebForm1 : System.Web.UI.Page
{
}
Is my theory correct? I wasn't able to find confirmation or contradiction
to my theory in my asp.net books.
Thank you,
-Amelyan
I think I discovered something new for myself about behavior
System.Web.UI.Page.
THEORY: Every time I change control on my WebForm1 page that results in
PostBack, it is handled by a new instance of WebForm1 class, i.e. a new
instance of WebForm1 class is created every time. In general, any GET or
POST to WebForm1 will get its own new instance of WebForm1.
public class WebForm1 : System.Web.UI.Page
{
}
Is my theory correct? I wasn't able to find confirmation or contradiction
to my theory in my asp.net books.
Thank you,
-Amelyan