Custom Control help. IQueryable RRS feed

  • Question

  • 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


    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 by nobugz Wednesday, September 3, 2008 12:25 AM forums.asp.net (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))
    Tuesday, September 2, 2008 11:12 PM

All replies