Click here to Skip to main content
15,881,691 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi Friends ,

I am using VS 2008,ASP.NET,C#.NET.
I have a report with drill down feature in grid in web application.
i am using a same webpage for different click options(account group,subgroup,head account) of the same report page.
Suppose I am in webpage accounts.aspx
Now I am opening this report rptDisplay.aspx.
When I click on the account group, grid is filled as group wise .
When clicking on subgroup , grid is filled as subgroup wise .
When clicking on Back button of Browser , then it redirects to accounts.aspx page.
This is the present scenario.

But my requirement is when I clicking on Back button of browser , it should go to the previous rptDisplay.aspx with group selection dat.

How can we implement this?

Thanks in advance
George N t
Posted
Comments
JoCodes 5-Feb-14 1:10am    
Any scripts you added for handling Handling BackButton click for browser?
george@84 5-Feb-14 1:33am    
I havent add any Script to handle backbutton
JoCodes 5-Feb-14 1:51am    
Usually if not explicitly handling it, the default behaviour is to Navigate to the PostBack Page itself instead of to the Previous Navigated Page.
sri senthil kumar 5-Feb-14 4:37am    
hope u can handle this in window.unload (javascript) event... please try. It gives you option to handle the browser back button too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900