How to retain the values of the filters and its result using asp.net c#?
        Posted  
        
            by user144842
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user144842
        
        
        
        Published on 2010-03-17T15:00:32Z
        Indexed on 
            2010/03/17
            15:01 UTC
        
        
        Read the original article
        Hit count: 542
        
Question:-
Page is a typical search page with few filters on it. When search for records based on filters, it shows result in Gridview. From grid view records, user can click on any record to see the details which takes the focus on new page. Its working fine so far. Now when user comes back from details page to search page. I am loosing selected filters values and no result in grid view. How can i display selected filters and its results in gridview when user is coming back on search page? Any example etc.?
FYI, I am using sessions to pass parameters to the ObjectDatasource.
© Stack Overflow or respective owner