Can I use in radDropDownList webmethod for data source for AutoCompleteDataSource property ?

3 posts, 0 answers
  1. Zlatko Rusev
    Zlatko Rusev avatar
    21 posts
    Member since:
    Oct 2009

    Posted 11 Mar 2011 Link to this post

    Can I use in radDropDownList webmethod  for data source for AutoCompleteDataSource property ?

    If yes, can you give some help code

    Thank for effort answer me

    Best Regards
    Zlatko
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Mar 2011 Link to this post

    Hello,

    The drop down list autocomplete datasource can be any valid datasource. E.g

    RadDropDownList radDropDownList1 = new RadDropDownList();
    radDropDownList1.AutoCompleteDataSource = // a data source
    radDropDownList1.AutoCompleteDisplayMember = "DisplayMember";
    radDropDownList1.AutoCompleteValueMember = "ValueMember";
    radDropDownList1.AutoCompleteMode = AutoCompleteMode.Suggest;

    You can see additional information at this help topic
    Hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 16 Mar 2011 Link to this post

    Hi,

    Thank you for writing.

    You can use Ricard's solution or you can implement a custom CustomAutoSuggestHelper and set another data source to the DropDownList of this helper class. This data source will be used for the auto-complete operation. Please refer the following post for more details on how to implement a custom AutoAppendHelper.

    I hope this helps. If you need further assistance, please do not hesitate to ask. 

    Regards,
    Peter
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top