Monday, January 18, 2010

Can a user control in vb.net control an control on the parent page?

I have an application and I have finally found a need to create some user controls since it looks like some of the forms will build off of one another. Eventually, I will have a parent page which may have just one submit button which will stay on the parent page. I have a case where I need to disable the submit


button but I haven't found out how to reference the button on the control's code behind so I can disable it. Is it possible for a user control to reference controls on the parent page.Can a user control in vb.net control an control on the parent page?
Here's a good article on how to do this:





http://aspnet.4guysfromrolla.com/article鈥?/a>

No comments:

Post a Comment