Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7582841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:32:07+00:00 2026-05-30T18:32:07+00:00

We want to replay a complex filter ui once the request has been exectued

  • 0

We want to “replay” a complex filter ui once the request has been exectued and the user comes back to the filter page.

Since the filter is very complex and dynamic we don’t want to walk through all items and remember the selected values and then apply the saved values from the code – the post data contains all selected options anyway…

So the goal is to intercept a !IsPostBack request, check if we have a saved filter for the scenario, inject the saved post data into the request and then go on and let all ASP.NET controls do their work as if it was a postback.

What we’ve tried so far:

  • Server.Transver preserving the Form is a nice idea, but the Request.Form is a readonly colletion.
  • creating a new HttpWebRequest to the same page with custom post data seems to stall the IIS worker process.
  • Not sure if an IHTTPHandler can modify the Post data or if that is already too late?

Any ideas? This would be really cool and extremely flexible for replaying any kind of requests…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:32:08+00:00Added an answer on May 30, 2026 at 6:32 pm

    We ended up remembering the selected values in Session and then apply when the page is reloaded like this:

    define

    Private Property SavedFilter() As Dictionary(Of String, Object)
                Get
                    If Session("savedFilter") Is Nothing Then
                        Session("savedFilter") = New Dictionary(Of String, Object)()
                    End If
    
                    Return CType(Session("savedFilter"), Dictionary(Of String, Object))
                End Get
                Set(ByVal value As Dictionary(Of String, Object))
                    Session("savedFilter") = value
                End Set
            End Property
    

    save

    SavedFilter.Clear()
    SavedFilter.Add(txtReactor.ID, txtReactor.Text)
    SavedFilter.Add(AllCountriesCheckBox.ID, AllCountriesCheckBox.Checked) [...]
    

    apply

    txtReactor.Text = SavedFilter(txtReactor.ID)
    AllCountriesCheckBox.Checked = SavedFilter(AllCountriesCheckBox.ID) [...]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a request/reply section in my project. I want to achieve
want to ask user to input something but not want to wait forever. There
I am creating a database that tracks replays for a game. Each replay has
Selenium HQ records some web navigation and can replay it from Firefox. I want
I'm implementing a network server that processes udp packets. I want to avoid replay
I'm writing an app, part of which allows the user stream/play videos. I want
if you please I just want to know how can I replay to sms
I want to track ALL elements that are clicked on a HTML-page. I need
Want to know what the stackoverflow community feels about the various free and non-free
Want my FireFox at work to be in sync with my FireFox at my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.