Thanks ca8msm!
What I did was hold the Request.Querystring("value") in a hidden label on the form. If it's blank, then the user is hitting the page the first time, if the label is populated, then I know to proceed with some different code.
Thanks! I'll try to use HTTP_Referer too!
I have a page with a datagrid, and depending on what previous page called this current page, I want the user to be able to go back to that previous page when they click a close button.
I was thinking of assigning the name of the previous page in a hidden label somewhere on the datagrid's page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.