protected void dd_user_ItemDataBound(object sender, DropDownListItemEventArgs e) { bool Disabled = e.Item.Text.Contains("0"); e.Item.Text = e.Item.Text.Replace("1", String.Empty).Replace("0", String.Empty); if (Disabled) { e.Item.CssClass += "RDDInactiveUser"; e.Item.Text += " (Disabled)"; } }
protected void rddlElements_ItemDataBound(object sender, DropDownListItemEventArgs e) { Data.ElementDetail dataItem = (Data.ElementDetail)e.Item.DataItem; short priority = (short)dataItem.priority; if (priority > 199 && priority < 300) { e.Item.CssClass = "SANAL_DDL"; } else if (priority > 299) { e.Item.CssClass = "MANU_DDL"; } else { e.Item.CssClass = "SDESC_DDL"; } }
protected void rDDSeasonTeam_ItemDataBound(object sender, DropDownListItemEventArgs e) { e.Item.Enabled = false; }
protected void RadDropDownWorksheets_ItemDataBound(object sender, DropDownListItemEventArgs e) { }
protected void RadDropDownProcesses_ItemDataBound(object sender, DropDownListItemEventArgs e) { }