Hi, I am having some issues getting a custom document library that is being viewed in an xsltListViewWebPart to filter the way I want it to.
I have found 2 ways to filter down the list using user input.
1.) Add values to the FilterOperations collection based on user input. This works great when you are only trying to filter on one column, or narrowing down searches based on columns. My issue with this method is that I can't search for values in multiple
columns (Can do Column1 and Column2 but NOT column1 or column2)
2.) Modify the xmlDefinition of the xsltlistviewwebpart and inject my own query into the xml. This works greats on actually filtering, I can filter down on whatever I want, however, when I do this, I lose ribbon functionality on all but the items that originally
appeared on the first page. If you searched for something that returned the 1st and 1530th files in the list, you could use the ribbon on the 1st item, but all document specific ribbon controls are disabled for the 1530th file. There are thousands of documents
in this library and the only reason you would search for it is because you want to edit the properties or something, so this is kind of a big deal.
What I am looking for is the best way to filter down the document library dynamically using OR statements and user input.
Any help would be greatly appreciated.
View Complete Post