In the MasterPage I've used a control (LinkButton1) in the 'header' region to function as a tab that when clicked will display another control (LinkButton2). LinkButton2 is located within a panel (Panel1) which allows me toggle visibility on and off using click events.
When LinkButton2 is clicked it loads content as expected but LinkButton2 also disappears when it is clicked after the page is posted back which must occur when a content page is loaded into the MasterPage ContentPlaceHolder.
LinkButton2 appears in the Trace control tree and when displayed by a LinkButton1 click event LinkButton1 has Render Size and View State size values. When LinkButton2 is clicked to load the content it disappears as I've explained and its Render Size and View State values are zeroed out of the Trace control tree.
I've tried the FindControl method and creating a Property both of which will return values for the LinkButton2.ID and LinkButton2.NamingContainer but I can not access or set LinkButton2.Visibility or other properties because the control has somehow disappeared. A similar behavior occurs with the SiteMapPath.
What could I be missing?