Before Page Redirect
I have four radio buttons on the page:
Quarter1, Quarter2, Quarter3 and Enter Date Range. When user selects 'Enter Date Range', the panel with From and To text box and Submit button is visible. For all other options, it redirects to another page and creates the report with the help of the parameters passed.
Now, here is the problem. If the user selects the 'Enter Date Range' option and enters the dates, then selects Quater1, the page redirects to Quarter1 report. From the report page, if user hits Back button, it comes back to the criteria selection page with Quarter1 selected and the dates in the From and To box.
How can I close the date range panel, before the page redirects to report, so that when user comes back, only Quarter1 is selected and the textboxes are not visisble.
I tried panel.visible=False, before redirecting the URL, but that didn't work.
Please help.
|