Пример #1
0
    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)";
        }
    }
Пример #2
0
        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";
            }
        }
Пример #3
0
 protected void rDDSeasonTeam_ItemDataBound(object sender, DropDownListItemEventArgs e)
 {
     e.Item.Enabled = false;
 }
Пример #4
0
 protected void RadDropDownWorksheets_ItemDataBound(object sender, DropDownListItemEventArgs e)
 {
 }
Пример #5
0
 protected void RadDropDownProcesses_ItemDataBound(object sender, DropDownListItemEventArgs e)
 {
 }