Label MasterPageDate = this.Master.Master.FindControl("lblMasterPageDate") as Label; MasterPageDate.Text = DateTime.Now.DayOfWeek.ToString() + " | " + DateTime.Now.ToString(aDateFormat) + " | " + DateTime.Now.ToShortTimeString();
Label MasterPageDate = Parent.Parent.FindControl("lblMasterPageDate") as Label; MasterPageDate.Text = DateTime.Now.DayOfWeek.ToString() + " | " + DateTime.Now.ToString(aDateFormat) + " | " + DateTime.Now.ToShortTimeString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)