base class for control

R

rjl444

web developer express asp.net 2.0:
I need to have 3 user controls. these controls include a textbox and
several asp controls (checkbox, button, etc). I would like to have a
base class that defines these controls and then have 3 sub user
control classes refer to these controls. I am able to call methods in
the base class to work with data, but I cannot reference any of the
controls. How can I reference a textbox which is in a sub class from
the base class?
in other words, the sub class has the textbox ( as will the other sub
classes), but I want to have it defined in the base class so I can
access the web controls from the base class.
Hope this makes sense and thanks for any assistance.
thanks,
Joe Klein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top