Auto Complete in MVC

Thread is closed for posting
3 posts, 0 answers
  1. kar kyn
    kar kyn avatar
    2 posts
    Member since:
    Jul 2009

    Posted 09 Jul 2009 Link to this post


    Dear All,

           How to do Auto complete in the text box such that which should check for first character match not any occurrence in the word.

    Thanks,
    kyn
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Jul 2009 Link to this post

    Hello kar kyn,

    Have you considered using RadComboBox with its filtering feature in this case? Alternatively, you can utilize the load-on-demand feature of the control and define the filter criteria to return only items which start with a specific letter.

    Best,
    Sebastian
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kar kyn
    kar kyn avatar
    2 posts
    Member since:
    Jul 2009

    Posted 09 Jul 2009 Link to this post

    Dear Sebastian

        Here am likely to fetch the records from json in MVC  for me now i can able to get the any occurrence in the word apart from First character but now i want to get only text for the first matched character.

    $("#CountyCode").autocomplete(data, { matchContains: true,
                         formatItem: function(row) {
                             return "[" + row.CountyCodeNumber + "] " + row.CountyName;
                         }

    kindly see the above code and do the needful.


    Thanks
    kyn




Back to Top