What's the best way to declare a lot of page level variables when your page is broken up into user c

Discussion in 'ASP .Net Web Controls' started by Brent, Dec 26, 2003.

  1. Brent

    Brent Guest

    What's the best way to declare a lot of page level variables when your page
    is broken up into user controls?

    If i have a page that contains 5 user controls and i have dimmed a
    page-level class that contains constants, then i have to dim that class 5
    times if i want access to these vars in the controls. Is there a better way
    to do this?

    Thanks,

    Brent
    Brent, Dec 26, 2003
    #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. Andrew Banks
    Replies:
    4
    Views:
    4,844
    Munsifali Rashid
    Jan 17, 2004
  2. David T. Ashley
    Replies:
    6
    Views:
    528
    Tim Rentsch
    Dec 5, 2004
  3. David T. Ashley
    Replies:
    6
    Views:
    375
    Tim Rentsch
    Dec 5, 2004
  4. pabbu
    Replies:
    8
    Views:
    711
    Marc Boyer
    Nov 7, 2005
  5. Scorpiion
    Replies:
    1
    Views:
    1,336
    Scorpiion
    Dec 25, 2008
Loading...

Share This Page