I have three web parts.
1) SearchBox Web Part 2) Results Web Part 3) Paging Web Part
SearchBox Web Part has a textBox and button in which user would enter a query. When user enters a query, it get added to the URl as ?query=textBox.text to the current URL.
In the Results Web Part I have taken this query string and passed this query string to a class which returns a xPathDocument. I have applied XSLt to this xPathDocument.
Now in the Paging web part I need to access the same xPathDocument and apply some different XSLT.
I tried using Sessions. But XmlResponse might be really big.
Could anyone tell me how to use same XPathDocument which is a return value of a class in different web parts.
Any help would be really appreciated.