I’m looking for a way to access my page’s controls.
I found this function that allows me to enter the ID of my control and the “root control”
and than it searches the children of the “root control” untill it finds my control id.
But the problem is that my control is nested in a table and the table is nested in a page in my master page.
whats the root control for the master page?
You can use the
Masterproperty of your content page to get the master page, thenFindControlto drill down till you get the control you are looking for (or you can use the function you already have).See this howto on MSDN.