private void PopulateControls() { if (!IsAdminModifiable()) { uxExportButton.Visible = false; } uxPeriodDrop.DataSource = ReportFilterUtilities.GetPeriodList(); uxPeriodDrop.DataBind(); uxPeriodDrop.SelectedIndex = 5; uxPeriodDrop.Attributes.Add("onchange", "GetCustomDate(this.value,'" + uxSetDate.ClientID + "')"); }