SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question


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

share|improve this answer
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... :) – Arsalan Adam Khatri Oct 23 '12 at 16:46
up vote 0 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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