S
smartscottiedog
Hi,
I have two pages. One source and one destination to crosspost. From
destination page, I check to see if the request is coming from
previous page.
if (PreviousPage != null && PreviousPage.IsCrossPagePostBack)
.....
At this moment, the source Page_Load and it's master page's events
fire off. Well, I have some logics there that I would rather not run
again. For example, Random, it will regenerate the value. Is it
normal to reprocess the page with events? It is hitting the database
unnecessary because of these events. Never had to cross post until
now and this is slowing me down. TIA.
I have two pages. One source and one destination to crosspost. From
destination page, I check to see if the request is coming from
previous page.
if (PreviousPage != null && PreviousPage.IsCrossPagePostBack)
.....
At this moment, the source Page_Load and it's master page's events
fire off. Well, I have some logics there that I would rather not run
again. For example, Random, it will regenerate the value. Is it
normal to reprocess the page with events? It is hitting the database
unnecessary because of these events. Never had to cross post until
now and this is slowing me down. TIA.