In the following code, cphNavigation is found but not so with uxSocialCalendarTab. Also, once I get that resolved, I'd like to combine both procedures into one line of code. Thanks in advance for assistance.
protected void Page_Init(object sender, EventArgs e)
{
var cph = this.Master.Master.FindControl("cphNavigation") as ContentPlaceHolder;
var tab = cph.FindControl("uxSocialCalendarTab") as HtmlGenericControl;
//tab.Attributes.Add("class", "socialCalendar current");
}
...
Go to the complete details ...