Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7574261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:23:37+00:00 2026-05-30T16:23:37+00:00

Got an ASP.NET site backed by C#. It’s an internal page that lists what

  • 0

Got an ASP.NET site backed by C#. It’s an internal page that lists what physical servers our virtual machines are on. The list is quite long, so what I want is to be able to filter down the list as the user types into a textbox. For example, let’s say we have three servers named “texas”, “newyork” and “nevada”. If the user types the letter “n” into the specified textbox, the list will (preferably client-side, without postback) remove texas from the list. Further, when the user gets as far as entering “nev”, newyork gets filtered out too, leaving us just with “nevada”.

I don’t believe this kind of functionality exists for the default GridView. At least, I can’t find anything about it anyway, not for a web form.

The alternative “well I guess it works” solution I can think of, since it’s an internal site and the page will be used maybe like a couple of times a week at most, is to postback on text input, and throw the partially entered string against the database and rebind the table based on the returned results. So that by the time we have typed in “nev”, we’ve made 3 postbacks and 3 database queries. I’m fairly certain that would be easy to pull off, and since it’s a completely intranet site with basic to no security needs only used by a handful of people, I don’t need to worry about someone just hammering the keyboard to purposely try and call the server a billion times. I realize that’s a horrible idea in a real open world scenario, but for our needs I don’t see it being a problem.

I’m open to any kind of solution that will help me accomplish the same effect, even if it’s something other than a GridView.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:23:38+00:00Added an answer on May 30, 2026 at 4:23 pm

    I just came across an example of doing this in Rx (Reactive Extensions). It uses the .Throttle() to prevent it from posting with every keypress. So you can throttle to update at most every second or ever so often. The full example is exercise 5 on page 18 in this PDF tutorial, http://go.microsoft.com/fwlink/?LinkId=208528 . (Rx home page)

    It’s too much to copy and paste here, but the tutorial has the full example. The gist of it is that each key press is processed as a ‘sequence’. Each item in the sequence is then processed by an event. In your case the action performed on each change would be filtering the GridView based on the current value of the textbox (and again the Throttle() would be the key to keep fast typers from updating it too often.

    As far as posting back each time I would use AJAX.NET in this situation to create a smoother UI. AJAX can do a postback to the server to get new data, etc but without the users entire page refreshing. This would be ideal. There are some simple AJAX.NET tutorials. There are only a few ui controls so it does not take too long to get the feel for it.

    Edit: If mini-postbacks with ajax.net is not fast enough, rx works with client-side javascript as well. http://channel9.msdn.com/Blogs/Charles/Introducing-RxJS-Reactive-Extensions-for-JavaScript

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an ASP.NET web application, that is essentially our intranet site. I made
i've got a stock standard ASP.NET web site, deployed to our development machine (internal
I've got a ASP.NET site that's located on a local server (MY_SERVER). And one
I've got a ASP.NET webforms site with some inline code on a master page
I've got a large site that runs in ASP.NET MVC using the Razor view
Hey folks, I've got an ASP.NET web site project that for some reason is
I've got an ASP.NET site backed with a SQL Server database. I'm been using
I've got this ASP.NET 2.0 website project in Visual Studio that I've been working
I've got an ASP.NET app that requires Windows Integrated Security. For some reason, I
I've got an ASP.NET WebForms app that I've written, which uses the ASP.NET AJAX

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.