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
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