By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,824 Members | 2,287 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,824 IT Pros & Developers. It's quick & easy.

ASP.NET 2.0 / VS 2005: How do I reference a Page object?

P: n/a
In ASP.NET 1.1, you can GetType on an ASPX page, as in the following:
GetType(Pages.JobPoster.Jobs.MyJobsSwitchAccount)

But when I try this under ASP.NET 2.0, I am unable to find the ASPX in the
Intellisense and the line above is an error.

It's as if pages are no long considered first-class objects.

Are you no long able to access pages as objects?

Thanks,
Michael Kuntscher
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.