Here you'll find solutions to random problems you may encounter whilst programming or using certain software tools (SSIS, Reporting Services, SharePoint, Business Objects, etc...)
October 16, 2007
FindControl on a MasterPage
When you need to use FindControl() on the Controls placed on a page inside a MasterPages layout, first you have to retrieve the ContentPlaceHolder that holds the page’s elements ( Master.FindControl(“myContentPlaceHolder”) ) and use FindControl on the ContentPlaceHolder.
No comments:
Post a Comment