private List <KeyValue> LoadList()
        {
            if (DataSourceType == "KeyValue")
            {
                list = this.ownerPage.GetAllKeyValueByKeyTypeIntCode(KeyTypeIntCode).OrderBy(e => e.Name).ToList();
                if (this.AddingDefaultValue)
                {
                    SMCDropDownList.AddDefaultValue(list, this.UseShortDefaultValue);
                }
                if (OrderBy != null)
                {
                    list = BaseClassBL <KeyValue> .Sort(list, this.OrderBy, this.OrderDirection != null?this.OrderDirection : "asc").ToList();
                }
            }

            return(list);
        }
 private void AddDefaultValue(List <KeyValue> list)
 {
     SMCDropDownList.AddDefaultValue(list, false);
 }