Posted on: 6/16/2013 8:59:59 PM | Views : 451

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 ...