Any chance for an updated MCCB with EL like the new Textboxes?
Thanks,
_D
At the moment when the control receives the focus the text gets selected. if the AllowShowFocusCues property is set to true and the DropDownStyle is set to DropDownList the focus cues should be painted similarly as in RadDropDownList this.radMultiColumnComboBox1.AllowShowFocusCues = true; this.radMultiColumnComboBox1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
Use attached project to reproduce. Workarond: radMultiColumnComboBox1.AutoSize = false; radMultiColumnComboBox1.MinimumSize = new Size(0, 22);
To reproduce:
- Bind the control and set the auto filter functionality.
- Type a value and press the tab key or click ouside of the control.
- Subscribe to the DropDownClosed event and observe that the SelectedValue and the text are different.
Workaround:
void radMultiColumnComboBox1_DropDownClosed(object sender, Telerik.WinControls.UI.RadPopupClosedEventArgs args)
{
this.radMultiColumnComboBox1.Text = this.radMultiColumnComboBox1.SelectedValue.ToString();
}
To reproduce: - Add some items to the control and set the DropDownAnimationEnabled to false. - Programmatically select the third item - Start the application, open the drop down and scroll up with the mouse - you will notice that the grid is not scrolled up. Workaround: Set DropDownAnimationEnabled to true.
To reproduce:
void radMultiColumnComboBox1_SelectedValueChanged(object sender, EventArgs e)
{
MessageBox.Show("test");
}
Workaround: disable the animations this.radMultiColumnComboBox1.MultiColumnComboBoxElement.DropDownAnimationEnabled = false;
When set the SelectedIndex property in the DropDownClosed event selected index is not set correctly.
Workaround:
private void radMultiColumnComboBox1_DropDownClosed(object sender, Telerik.WinControls.UI.RadPopupClosedEventArgs args)
{
this.radMultiColumnComboBox1.SelectedIndex = 0;
this.radMultiColumnComboBox1.EditorControl.CurrentRowChanging += new CurrentRowChangingEventHandler(EditorControl_CurrentRowChanging);
}
void EditorControl_CurrentRowChanging(object sender, CurrentRowChangingEventArgs e)
{
e.Cancel = true;
this.radMultiColumnComboBox1.EditorControl.CurrentRowChanging -= EditorControl_CurrentRowChanging;
}
When filtering is applied to RadMultiColumnComboBox editor in CellEditorInitialized event of RadGridView, the selected item is second one, if the new row is edited.
Workaround: change the event handler by adding the following lines of code in the end of the RadGridView1_CellEditorInitialized:
Dim value As Object = e.Row.Cells(e.ColumnIndex).Value
If value Is Nothing Then
editor.EditorControl.CurrentRow = Nothing
Else
editor.Value = e.Row.Cells(e.ColumnIndex).Value
End If