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
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?