Hi everyone,
I am working on an asp.net website and I recently added a simple user control for a header I want to use on all the pages. The user control contains a few images and a string property for the page title. I registered the user control on the pages and when i reference it, it works just fine. But some of my pages use Page.PreviousPage to check if a previous page exists, and then loads some information from the previous page to use on the current page. With the user control in place, I am getting all sorts of errors on Page.PreviousPage!=null statement now.
I get a
system.web.httpException if I use a postBackUrl to get to this page
null object for the previousPage if I use Response.Redirect and
a parser error if I use Server.Response.
I have also set the EnableEventValidation property of all the pages to true but get the same problems.
Has anyone else experienced any of these pr ...
Go to the complete details ...