Access controls from a class

Discussion in 'ASP .Net' started by Damon, Mar 6, 2004.

  1. Damon

    Damon Guest

    Can controls on a web page be manipulated from a class? For example, If I
    have a web page that has a dropdown on it can I populate that from inside of
    a class that I created? If so, how?
    Damon, Mar 6, 2004
    #1
    1. Advertising

  2. Damon

    Sharon Guest

    Sure.
    You only have to pass a reference of the control to the method.

    "Damon" <> wrote in message
    news:Rd92c.6516$...
    > Can controls on a web page be manipulated from a class? For example, If I
    > have a web page that has a dropdown on it can I populate that from inside

    of
    > a class that I created? If so, how?
    >
    >
    >
    Sharon, Mar 6, 2004
    #2
    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. Mr Newbie
    Replies:
    3
    Views:
    496
    Kevin Spencer
    Oct 31, 2005
  2. E11
    Replies:
    1
    Views:
    4,757
    Thomas Weidenfeller
    Oct 12, 2005
  3. Nathan Sokalski
    Replies:
    4
    Views:
    1,144
    Muhammad Naveed Yaseen
    Sep 5, 2007
  4. Faizan Ahmed
    Replies:
    1
    Views:
    283
    John Saunders
    Jan 4, 2005
  5. Faizan Ahmed
    Replies:
    1
    Views:
    363
    John Saunders
    Jan 4, 2005
Loading...

Share This Page