Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Row filter for search results?
Last Post 12/10/2010 1:55 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Chrickel
New Member
New Member
Posts:44


--
12/08/2010 5:54 PM
Hi Peter,

We just ran across a nice2have:

My users ask for a seperate search rsult pane which only shows entries of a specific type (In our case "Collection.ejitem").

I managed to tweak search.aspx that way that it only shows these entries with

IIF(DataBinder.Eval(Container.DataItem, "EntryType")="Collection.ejitem", [...], "")

But still all rows of the result set render as empty rows.

I also tried to set the root category of our customsearch.aspx module to one category (I've put all matching entries in there) which is also ignored.

Any hints on this?

Thanks!

-Chris
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/10/2010 1:55 PM
Hi Chris,

You could use the partial source and catch the place where the grid gets rebuilt. This code calls the respective IContentProvider. As the results come in from that you could filter before they get bound to the grid.
Can't think of anything else off hand.

Peter
You are not authorized to post a reply.