Completed
Last Updated: 23 Jul 2020 11:54 by ADMIN
Release R3 2020 (LIB 2020.2.713)
Peter
Created on: 23 Jun 2020 18:37
Category: MultiColumnCombo
Type: Bug Report
1
RadMultiColumnComboBox: DropDown doesn't close always upon selection

Dear support,

I have an issue with a multicolumn combobox that won't close upon selection.

The first time (when it is empty) everything goes well, but the second time (in the attached video around the 10th second) it won't close the dropdown if you select the item again.

I suspect it is acting that way because I select the same item.

It is an annoying behavior because now users need to click on the little arrow to close the drop down, which is not intuitive.

I recorded a video that illustrates this issue.

 

Many thanks again.

Kind regards.

Peter.

4 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 23 Jul 2020 11:54

Hi, Yaroslav,

Indeed, this is an improved solution considering the case when you have vertical and horizontal scrollbars in the drop down:

        private void EditorControl_MouseUp(object sender, MouseEventArgs e)
        {
            if (this.radMultiColumnComboBox1.SelectedIndex != -1 && e.X < this.radMultiColumnComboBox1.Width - 
                this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.TableElement.VScrollBar.Size.Width)
            {
               this.radMultiColumnComboBox1.MultiColumnComboBoxElement.ClosePopup();
            }
        }

Thus, if you click on the vertical scrollbar, the popup won't be closed.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Attached Files:
Yaroslav
Posted on: 23 Jul 2020 10:44

Dess | Tech Support Engineer, Sr. - A bit incorrect :)

private void EditorControl_MouseUp(object sender, MouseEventArgs e)
        {
            if (SelectedIndex != -1 &&  e.X < Width - MultiColumnComboBoxElement.EditorControl.TableElement.VScrollBar.Size.Width)

            {
                MultiColumnComboBoxElement.ClosePopup();
            }
        }

Peter
Posted on: 26 Jun 2020 07:30

Thanks Dess, I'll have a look into your workaround suggestion.

 

Kind regards,

Peter

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 24 Jun 2020 05:44

Hello, Peter,  

Following the provided information and sample video, I was able to observe the same behavior on my end when the user selects an already selected row in the drop down. After further testing I have noticed that the drop down is not closed in the specified situation as of version 2020.2.512.40.

I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to close the drop down programmatically: 

        this.radMultiColumnComboBox1.EditorControl.MouseUp+=EditorControl_MouseUp;

        private void EditorControl_MouseUp(object sender, MouseEventArgs e)
        {
            this.radMultiColumnComboBox1.MultiColumnComboBoxElement.ClosePopup();
        }
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,


Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.