problem in filter in radmulticolumncombobox

2 posts, 0 answers
  1. Leili
    Leili avatar
    1 posts
    Member since:
    Dec 2012

    Posted 26 Dec 2012 Link to this post

    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?

  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 27 Dec 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top