Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to change the view of XsltListViewWebPart on each page of the site. To be more exactly, I need to implement the filter to the view to show users specific content. So, I did this by changing the query in XmlDocument of each XsltListViewWebPart, which I can find on the page. I did it in code behind on PageLoad in the the web control, that I placed to the master page. Everything is fine, except of one thing - filtering. When I want to open the filter textbox in the toolbar of the web part, I can see all items anyway.

It seems, Benedikt Redl had the same problem. But he omitted the decision in his post

If you know the way to bring this issue to a close, please, share with your experience, please. I will appreciate any help. Thanks.

P.S. To resolve the problem through javascript is the last choice, which I want to use.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.