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.