protected void ContactCountryEditor_Load(object sender, EventArgs e) { if (ContactFormPanel.IsCallback || IsPostBack && !IsCallback) { var combo = (ASPxComboBox)sender; ContactsBL BL = new ContactsBL(); combo.DataSource = BL.GetCountries(); combo.DataBindItems(); } ContactDataView.ContentStyle.Border.BorderWidth = 0; }