Auto-complete support : How?

4 posts, 0 answers
  1. Francois
    Francois avatar
    52 posts
    Member since:
    Dec 2010

    Posted 19 Feb 2014 Link to this post

    Hi,

    I saw that in 2013 Q3 SP2 this feature was implemented (http://feedback.telerik.com/Project/154/Feedback/Details/110982-add-radmulticolumncombobox-autocomplete-mode).

    How can we make use of it? I already had simple code to do this, so I'm wondering what changed...

    Thanks!

  2. Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 21 Feb 2014 Link to this post

    Hi Francois, 

    Thank you for contacting us.

    In Q3 2013 SP2 we introduced the auto complete feature in RadMultiColumnComboBox. This feature allows you to set AutoCompleteMode property to different modes (Suggest, SuggestAppend, Append or None). In our Demo Application we have an example which demonstrates that behaviour. 

    You can use this code example to set the AutoCompleteMode:
    FilterDescriptor descriptor = new FilterDescriptor(this.radMultiColumnComboBox1.DisplayMember, FilterOperator.StartsWith, string.Empty);
    this.radMultiColumnComboBox1.EditorControl.FilterDescriptors.Add(descriptor);
    //set the AutoCompleteMode property to one of modes Append, None, Suggest, SuggestAppend
    this.radMultiColumnComboBox1.MultiColumnComboBoxElement.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
    I also attached a video which demonstrates the feature.

    Hope this will help you. Let me know if you have any other questions.

    Regards,
    Ralitsa
    Telerik
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Carisch
    Carisch avatar
    25 posts
    Member since:
    Aug 2007

    Posted 28 Mar 2014 in reply to Ralitsa Link to this post

    I'm really struggling with this.  The code is so strait forward and easy to understand.  I have it exactly as described above.  Am I missing something simple.  This does not work with the most current versions of the controls.  Any help?


    C
  5. Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 02 Apr 2014 Link to this post

    Hi Carisch, 

    Thank you for contacting us. 

    I tried the attached demo project with our latest versions Q3 2013 SP2 (2013.3.1328) and Q1 2014 (2014.1.226) and it works as expected. You can refer to Demo application where you can find another example which demonstrates you the auto-complete options in RadMultiColumnComboBox. The location where you can find it is: START >> All Programs >> Telerik >> UI for WinForms [version] >> Examples >> C# for Visual Studio 2010 >> Open C# Demo Application in Visual Studio - UI for WinForms. The example is in MultiColumn Combobox. 

    If the issue still exists, I would kindly ask you to send me more detailed information such as the exact version of our suite you use. It will be helpful if you send me a sample project to investigate the precise case. Please note that you have to open a new support ticket in order to be able to attach your project.

    I am looking forward to your reply.

    Regards,
    Ralitsa
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top