Re: How to "release" a Web part connection filter by code

From: Siegfried Weber (siegfriedcw_at_notmail.com)
Date: 02/07/04


Date: Sat, 7 Feb 2004 23:27:13 +0100

I really need some help here. Do explain my problem better I've whipped up a
quick sample site at:

http://playground.doesntexist.org/

As you can see on the site once you clicked on a category *and* select an
item from the archive Web Part both Web Part connections will be applied.

I'm looking for a way to keep them separate. Any ideas? Please!

Siegfried Weber wrote:
>
> I hope the subject isn't too confusing ;-)
>
> Problem:
>
> Simple WSS Team Site.
>
> Added two custom lists "Blog" and "Categories". "Blog" has a lookup
> field named "Categories" to the "Title" field of "Categories". Three
> Web Parts (all FP Data Views) added on the main page, one is the
> "Blog" list, one is the "Categories" list and one is named "Grouped
> by Creation Date" pointing to the "Blog" list too. So basically both
> Web Parts (WP), "Blog" and "Grouped by Creation Date" , are using
> the same list but with different views. On all WPs is the option to
> "Send first row to connected Web Parts when page loads" turned *OFF*.
>
> Then I've created WP connections.
>
> First one goes from the "Categories" lookup field on "Blog" to the
> "Title" field on "Categories" to allow filtering "Blog" and display a
> set of list items which are in a specific category.
>
> That one works without a problem.
>
> Second WP connection goes from "Grouped by Creation Date" to "Blog".
> Desired result is to have a grouped by creation date view at "Grouped
> by Creation Date" Web Part which then allows to select and item and
> it is then displayed via a filter in "Blog".
>
> That one works without a problem, too.
>
> BUT!! As soon as I use both in a combination I am running into
> problems. Now when I click on a category, say "Misc", the connection
> filter fires and the selected category (conditional formatting
> confirms that) is used to display the appropriate items in "Blog".
> However, when I now click on a row in the "Grouped by Creation Date"
> WP the second WP connection fires and applies the second filter
> without releasing the first one. That means the filters are applied
> AND'd and not OR'd.
>
> I know this might sound confusing, so please bear with me that I've
> attached a compressed image of the site to give anybody a glue. I've
> compressed it as much as possible to reduce space.
>
> My problem is now that I want to have both WP connection filters work
> independently. Basically, when I click on a category I want *only* the
> category applied and when I click on a grouped by creation date WP
> item I want *only* that one applied. Right now, they
>
> I've been struggling with this yesterday for a couple of hours
> without just getting further. I'd be glad if somebody could shed some
> light into how to accomplish that without breaking things into
> several pages (it is supposed to be a single page site).
>
> TIA!



Relevant Pages

  • Newsman Pro 2.6 Released
    ... Fixed a bug in the MySQL database components that caused ... Added a timer to the hints in the Connections view to ... Optimized the "Get Headers By Date" search algorithm ... Fixed a bug in the Filter Builder that prevented the ...
    (news.software.readers)
  • Re: D-Link 604 Router
    ... > I can filter outbound connections using URL filtering using something ... > firewall software or hardware and no router, ...
    (comp.security.firewalls)
  • Re: IPlate question
    ... since it is just an inductor in the ring wire... ... You'd be better off fitting a faceplate filter, ... output connections on the back, ... And you can't fit an IPlate together with a faceplate filter. ...
    (uk.telecom.broadband)
  • Re: Using Query Strings in FP2003 & Sharepoint
    ... Thanks John for the quick and thorough answer. ... I had thought about connecting Web Parts and now that you have recommended ... > Using Filter will actually be faster than Query Strings, ... > You could also use Web Part Connections, where you would have a Data View ...
    (microsoft.public.frontpage.programming)
  • how to manually call ClientEventReceived in TDI filter driver?
    ... catch the creation of the connection object. ... IRP_MJ_CREATE filter function use the following code to ... >for it in the IRPs received in my filter driver. ...
    (microsoft.public.development.device.drivers)