Solved

Search Listview + Paging

Posted on 2011-03-18
1
284 Views
Last Modified: 2012-05-11
I have a ListView control that will always contain 10,000+ rows.  To facilitate this large ListView I have implemented paging.

My issue is that I need to add a search feature that searches all rows within this ListView control on all pages of the control.

Code samples would be greatly appreciated.

Thank you in advance.
0
Comment
Question by:karlhsc
1 Comment
 
LVL 3

Accepted Solution

by:
chrisrbloom earned 500 total points
ID: 35165940
I had the same issue with a gridview.  I created a query that searched for a string within the table values and rebound to that query every time a search was done.

basically I just concatenated all the values from each column of the table into one of the fields (hidden) and then ran my query to accept a parameter with wildcards that looked for the input string on the contactenated field.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question