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. Advertising

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:
    441
    Juan T. Llibre
    Jun 7, 2005
  2. ce
    Replies:
    1
    Views:
    2,961
  3. J.S.
    Replies:
    2
    Views:
    3,629
  4. Sql Agentman
    Replies:
    0
    Views:
    639
    Sql Agentman
    Jan 19, 2006
  5. Replies:
    1
    Views:
    468
    Mark Rae [MVP]
    Sep 20, 2007
Loading...

Share This Page