C
Cameron Eckman
I have a ASP.NET page in a site running in 1.1 framework. The page takes
submissions of forms from other sites on the same server to prepopulate some
of the items in it.
If the posting site is ASP or ASP.NET 1.1, the IsPostBack property is
false when the 1.1 page is first loaded.
If the posting site is ASP.NET 2.0, the IsPostBack property is true when
the 1.1 page is first loaded.
Is this normal behavior or is there some 2.0 setting to prevent this?
My workaround for now is:
if ((this.Request.Url != this.Request.UrlReferrer) && (!
this.IsPostBack))
//code to excute
Thanks in advance.
submissions of forms from other sites on the same server to prepopulate some
of the items in it.
If the posting site is ASP or ASP.NET 1.1, the IsPostBack property is
false when the 1.1 page is first loaded.
If the posting site is ASP.NET 2.0, the IsPostBack property is true when
the 1.1 page is first loaded.
Is this normal behavior or is there some 2.0 setting to prevent this?
My workaround for now is:
if ((this.Request.Url != this.Request.UrlReferrer) && (!
this.IsPostBack))
//code to excute
Thanks in advance.