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. 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. Andrew Banks
    Replies:
    4
    Views:
    5,033
    Munsifali Rashid
    Jan 17, 2004
  2. nicholas
    Replies:
    5
    Views:
    516
    Hans Kesting
    Apr 21, 2005
  3. David T. Ashley
    Replies:
    6
    Views:
    757
    Tim Rentsch
    Dec 5, 2004
  4. David T. Ashley
    Replies:
    6
    Views:
    516
    Tim Rentsch
    Dec 5, 2004
  5. pabbu
    Replies:
    8
    Views:
    963
    Marc Boyer
    Nov 7, 2005
  6. Vajra
    Replies:
    6
    Views:
    1,311
    Chris ( Val )
    Oct 8, 2007
  7. Replies:
    9
    Views:
    1,294
  8. Scorpiion
    Replies:
    1
    Views:
    1,591
    Scorpiion
    Dec 25, 2008
Loading...