I have a page with a Web User Control that I made. The control has an IQueryable object that needs to be used by the page. I tried saving the Iqueryable object using Sessions. Then from the page I can call
myCustomWebUserControl.Session["IQuery"]
This works but I dont want to use Sessions. I tried ViewState but it cant save IQueryable objects.
It has to be saved because of postbacks but if someone navigates to another page, the data should be erased.
I am making a list of these IQueryable objects then combine them to make a large search string. I have to use Iqueryable because I don't want to enumerate the lists for obvious reasons.
How can I pass the query this way?
Thanks in advance.
Moved bynobugzWednesday, September 3, 2008 12:25 AMforums.asp.net (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))