G
Guest
Hi
I have my own implementation of the Page class which inherits from System.Web.UI.Page. In the constructor ( or as soon as possible) I want to access the query string and get the Id of the page being requested but it doesn't look like I can access this information in the constructor, I get a "Request is not available in this context " error when I do so. Is the onLoad event my best bet or am I missing something?
I have my own implementation of the Page class which inherits from System.Web.UI.Page. In the constructor ( or as soon as possible) I want to access the query string and get the Id of the page being requested but it doesn't look like I can access this information in the constructor, I get a "Request is not available in this context " error when I do so. Is the onLoad event my best bet or am I missing something?