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

Discussion in 'ASP .Net' started by =?Utf-8?B?TWljaGFlbCBLdW50c2NoZXI=?=, Jan 18, 2005.

  1. 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
     
    =?Utf-8?B?TWljaGFlbCBLdW50c2NoZXI=?=, Jan 18, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Juan T. Llibre
    Replies:
    0
    Views:
    638
    Juan T. Llibre
    Jun 7, 2005
  2. ce
    Replies:
    1
    Views:
    3,175
  3. Ken Fine
    Replies:
    2
    Views:
    784
    Guest
    Jun 25, 2005
  4. J.S.
    Replies:
    2
    Views:
    3,819
  5. Sql Agentman
    Replies:
    0
    Views:
    830
    Sql Agentman
    Jan 19, 2006
  6. =?Utf-8?B?Q2hhcmxpZQ==?=

    Reference ASP.Net Page from a Master Page

    =?Utf-8?B?Q2hhcmxpZQ==?=, Dec 11, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    456
    =?Utf-8?B?Q2hhcmxpZQ==?=
    Dec 11, 2006
  7. Replies:
    1
    Views:
    720
    Mark Rae [MVP]
    Sep 20, 2007
  8. Smithery

    What happened to reference.cs in VS.NET 2005/.NET 2.0?

    Smithery, Nov 26, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    186
    Smithery
    Nov 26, 2005
Loading...