Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Search Listview + Paging

Posted on 2011-03-18
1
Medium Priority
?
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
chrisrbloom earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

618 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