I have a custom list with two columns:

Person Name
Person Age

I want to have a search/filter area where user can search by person name or age. Name search should not be exact match and must be like "contains".

Anyway the point is I can make such web part which is not a problem. The problem is I want to display results exactly like a list is displayed in SharePoint. I don't want to use table, tr and td to display results.

How can I do this?


1 Answer 1


I fixed it by using Content Query Web Part (CQWP) to which I am passing value as query string parameter. CQWP has the option "Contains" rather than exact match which will bring all related results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.