开发者

ITransformableFilterValues implementation to filter entries that contain the ParameterValues

开发者 https://www.devze.com 2023-01-27 05:45 出处:网络
I want to create a custom filter Web Part. I found two ways of doing this: 1. implement IFilterProvider (but this 开发者_高级运维is marked as obsolete) 2. implement ITransformableFilterValues (which s

I want to create a custom filter Web Part. I found two ways of doing this: 1. implement IFilterProvider (but this 开发者_高级运维is marked as obsolete) 2. implement ITransformableFilterValues (which seems to be the current way to do it, so I chose it).

Now I need to filter entires that are not exact matches of my ParameterValues but that contain my ParameterValues.

So can I use some kind of wildcard in ParameterValues? Or is there another way to do it?


When your Filter Provider web part passes along filters (via either method) to a Filter Consumer it has no say on what the filter consumer actually does with these values.

The List View Web Part (LVWP) for example will NOT allow you to use wildcards.

Other web parts may do (but I am not aware of any).


Wouldn't it be possible to Access any internal CAML inside the List Viewer webpart and modify it directly? This would be a hack.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号