Is it possible to get hold of the value of a filter being passed in by a connected web part?

For example, if a sharepoint list filter is sending a filter value of "1" to webpart A (a dataview webpart), I would like to re-use that value within the xslt of the dataview web part.

Thanks in advance. KS



Why are you taking the value as Filter... use "Get Parameters From" instead...

and then you can use the parameter anywhere, using @ParameterName

Refer to this post

  • Yes, I am aware that I can use the parameter - was just curious as to whether or not the DataView web part exposed the filter being passed in. It would eliminate the need to create parameter definitions in two places and also then hooking the parameter to filter the rows.
    – Perplexed
    Oct 23 '12 at 16:15
  • hmm, I don't think there is a better solution than this... :) Oct 23 '12 at 16:46

It's not possible to access the Filter Value passed in by another web part.

Your Answer

