This is a migrated thread and some comments may be shown as answers.

problem in filter in radmulticolumncombobox

1 Answer 182 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Leili
Top achievements
Rank 1
Leili asked on 26 Dec 2012, 09:30 AM
Hi
I used radmulticolumncombobox and have several problem.
1.I have some column in datasource that it is possible to be null .in this case when press enter ، select first item in multiCol
2.I have several filter in multicol .in this case when press enter ، select first item in multiCol
3.if write number ،select this item only Tab not enter.
when write in multiCol and press Enter ،clear text.because write this code . but editorcontrol get me mistake information

 

private

 

 

void CmbMulCol_KeyDown(object sender, KeyEventArgs e)

 

{

 

 

if (e.KeyCode == Keys.Enter)

 

{

 

CmbMulCol.MultiColumnComboBoxElement.ApplyFilter();

 

 

 

if (CmbMulCol.EditorControl.CurrentRow != null && CmbMulCol.EditorControl.CurrentRow.Index >= 0)

 

{

 

 

if (CmbMulCol.EditorControl.CurrentRow.Cells["Title"].Value != null)

 

 

 

if (CmbMulCol.EditorControl.CurrentRow.Cells["Title"].Value.ToString() != "")

 

{

CmbMulCol.Text = CmbMulCol.EditorControl.CurrentRow.Cells[

 

"Title"].Value.ToString();

 

CmbMulCol.SelectedValue = CmbMulCol.EditorControl.CurrentRow.Cells[

 

"Id"].Value;

 

}

}

 

 

else

 

 

 

 

 

{

CmbMulCol.Text =

 

"";

 

}

 

 

if (CmbMulCol.SelectedValue == null)

 

CmbMulCol.Text =

 

"";

 

}

}

 

 

can you help me?

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 27 Dec 2012, 02:57 PM
Hi Leili,

I am not sure that I fully understand your questions. Please, note that RadMultiColumnComboBox supports only the filtering functionality described in our online documentation. It does not support filtering by multiple columns.

Please, send us a sample application that reproduces your issues and describe in detail the expected behavior. This will help us to understand your scenario and we will try to find proper solutions.

I am looking forward to your reply.
 
All the best,
Jack
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
MultiColumn ComboBox
Asked by
Leili
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or