Google-like ComboBox

5 posts, 0 answers
  1. Mark
    Mark avatar
    127 posts
    Member since:
    May 2013

    Posted 10 Jan 2014 Link to this post

    Hi All,

    I've implemented a standard RadComboBox as in this example:
    http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/autocompleteclientside/defaultcs.aspx

    However, it does not appear to be capable of finding substring data, only what things start with.  IE: It can find "John Smith" if I start typing "jo" but if I type "sm" it will not find it.  Can you please advise?

    Thanks,
    Mark
  2. Mark
    Mark avatar
    127 posts
    Member since:
    May 2013

    Posted 10 Jan 2014 Link to this post

    I'm also getting as system.data.datarowview for every item . . . weird . . .
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark
    Mark avatar
    127 posts
    Member since:
    May 2013

    Posted 11 Jan 2014 Link to this post

    Ok, I fixed the system.data.datarowview error, but using it as a search box with google-like auto-suggestion functionality seems iffy.
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Jan 2014 Link to this post

    Hi Mark,

    In order to find the Item of RadComboBox using substring, please try to set the Filter property of RadComboBox to 'Contains'. Please have a look into the following ASPX which works fine at my end and also take a look into this online demo.

    ASPX:
    <telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Type" DataSourceID="SqlDataSource1"
        Filter="Contains" DataTextField="ContactName">
    </telerik:RadComboBox>

    Please provide your code if it doesn't help.
    Thanks,
    Shinu.


  6. Mark
    Mark avatar
    127 posts
    Member since:
    May 2013

    Posted 13 Jan 2014 Link to this post

    Thanks Shinu!  That did it!  :-)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017