Contains Method ?

4 posts, 0 answers
  1. Emrah Yigit
    Emrah Yigit avatar
    11 posts
    Member since:
    Mar 2007

    Posted 28 Apr 2007 Link to this post

    Hello,

    Is there any way to use comboBox.contains method ?

    Best Regards
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 02 May 2007 Link to this post

    Hi Emrah Yigit,
    Please explain in more details how do you intend to use the Contains method and what your expectations are regarding its usage. At present the Contains method is inherited from the Control base class, thus searching for child controls inside the combobox control. You can use the FindItem and FindItemExact methods to search string representations for the items contained inside the combobox Items collection (or populated through databinding).

    Greetings,
    Dimitar Kapitanov
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Emrah Yigit
    Emrah Yigit avatar
    11 posts
    Member since:
    Mar 2007

    Posted 02 May 2007 Link to this post

    I wrote that question before i couldn't find FindItemExact() method.

    Thanks :)
  5. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 03 May 2007 Link to this post

    Hi Emrah Yigit,
    You can find the methods in the RadComboBox control (FindItem and FindItemExact methods). They are public and have signatures like:

    public RadComboBoxItem FindItem(string startsWith)

    public RadComboBoxItem FindItemExact(string text)

    If you need further assistance do not hesitate to contact us.



    Regards,
    Dimitar Kapitanov
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top