Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user control questions

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
Hi-

I've got a user control that basically is a whole web form, and it contains a lot of subroutines. So I'm adding this to an aspx page. I have a few questions about this...

1. I have panels on the aspx page (because I'm using more than one usercontrol, and show them based on certain things), how, in the usercontrol, do I access the panels on the web form using that control to change them? Can this be done?

2. I can keep all the eventHandler for my textboxes, etc on the control, in the controls code, and not have to do anything special right?

THanks.
 
The page actually has two (big) usercontrols on it, each of them parts of a webform. when i view source, I can't see the soruce for the second control, even though I see if displayed and working in the browser... anyone ever seen this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top