My form having a MultiColumn ComboBox , (version 2016.1.112.40 ) the data bound it it is long, 500+ columns. When i press down arrow next to text area, popup is flashing and dismisses but when i double click it appears.
While debugging i realize drop down closing event is being fired due to some 'bubble event / mouse down. What is happening?, The form has lot of other non Rad controls. But control focus remains intact when this happens.
Please help.
Here is my code for initializing it.
01.
var productService = UnityContainer.Resolve<
ProductService
>();
02.
var productCodes = new List<
DAL.Model.Product
>();
03.
var productCodeList = await productService.GetAllProductCode(null);
04.
05.
if (productCodeList.Any())
06.
{
07.
productCodeList = productCodeList.DistinctBy(x => x.ProductCode).ToList();
08.
productCodeList = productCodeList.Where(x => x.ProductStatusID != null).OrderBy(x => x.ProductCode).ToList();
09.
productCodeList.RemoveAll(x => x.IsDevice == true && x.ProductStatusID == 0);
10.
productCodes.AddRange(productCodeList);
11.
}
12.
var productList = productCodes.Select(x => new CustomComboSourceDto
13.
{
14.
Id = x.ProductID,
15.
Name = x.ProductCode.ToUpper(),
16.
Description = x.ProductDescription
17.
}).ToList();
18.
19.
productList.Insert(0, new CustomComboSourceDto { Id = -1, Name = string.Empty, Description = string.Empty });
20.
comboBoxProductCode.DataSource = productList;
21.
22.
FilterDescriptor descriptor = new FilterDescriptor(this.comboBoxProductCode.DisplayMember, FilterOperator.StartsWith, string.Empty);
23.
this.comboBoxProductCode.EditorControl.FilterDescriptors.Add(descriptor);