0

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

0

Perplexed,

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... :) – Arsalan Adam Khatri Oct 23 '12 at 16:46
0

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, privacy policy and cookie policy

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