ASPNET MVC Input hints

Bryan Valencia 186 Reputation points
2024-01-19T22:50:47.46+00:00

When you enter data into a field on a web page, the browser will usually pop up a box of recent entries. Is there a way for me to control these hints in code?
For instance, if I'm doing a search form, in the "Customer" input, I want to list the last 20 customers the user has accessed. Alternately, I suppose with JQuery I could make a popup box that appears when the input field is edited, and filters it's list dynamically. (this is like the Winforms combobox in the "help and fill" mode.

Developer technologies | ASP.NET | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

1 answer

Sort by: Most helpful
  1. SurferOnWww 4,951 Reputation points
    2024-01-20T00:35:36.47+00:00

    How about the Autocomplete in the jQuery UI?

    Autocomplete

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.