Solved

Search Listview + Paging

Posted on 2011-03-18
1
279 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now