Solved

Search Listview + Paging

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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!
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

10 Experts available now in Live!

Get 1:1 Help Now