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

2 Answers 2



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
    Commented Oct 23, 2012 at 16:15
  • hmm, I don't think there is a better solution than this... :) Commented Oct 23, 2012 at 16:46

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.