Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. vs2005 page inheritance and general oddities

vs2005 page inheritance and general oddities

Scheduled Pinned Locked Moved ASP.NET
visual-studiotoolsoophelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Guy Harwood
    wrote on last edited by
    #1

    ive just took the plunge with vs2005 from vs2003 and there are a couple of things that are truly boggling me! 1. i like to have a page called 'basepage' in which i add lots of useful functions. every page i add to my project inherits from basepage so it has easy access to all my pre-built functions. i have created my basepage but it does not appear in the intellisense list after the 'inherits' statement when i type and it does not appear to be known as a class. why is this???? its driving me nuts!!! 2. i like to setup namespace imports for heavily used namespaces such as system.data.sqlclient and system.text. i cannot find the utility to do this where it used to be nor does the help give me any clues. please help a very flummoxed vs2005 noob!:doh:

    ---Guy H (;-)---

    M 1 Reply Last reply
    0
    • G Guy Harwood

      ive just took the plunge with vs2005 from vs2003 and there are a couple of things that are truly boggling me! 1. i like to have a page called 'basepage' in which i add lots of useful functions. every page i add to my project inherits from basepage so it has easy access to all my pre-built functions. i have created my basepage but it does not appear in the intellisense list after the 'inherits' statement when i type and it does not appear to be known as a class. why is this???? its driving me nuts!!! 2. i like to setup namespace imports for heavily used namespaces such as system.data.sqlclient and system.text. i cannot find the utility to do this where it used to be nor does the help give me any clues. please help a very flummoxed vs2005 noob!:doh:

      ---Guy H (;-)---

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, 1. Where do you define the basepage class? In the App_Code folder or a seperate project? Do you try to compile the project before using it? 2. You can define the namespaces in the namespaces Element for pages[^]

      G 1 Reply Last reply
      0
      • M minhpc_bk

        Hi there, 1. Where do you define the basepage class? In the App_Code folder or a seperate project? Do you try to compile the project before using it? 2. You can define the namespaces in the namespaces Element for pages[^]

        G Offline
        G Offline
        Guy Harwood
        wrote on last edited by
        #3

        hi thanks for your reply. the basepage inheritance seems to work now :confused: which baffles me even more. thanks for the namespace tip, ive got it sussed now cheers! :-D

        ---Guy H (;-)---

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups