Issue with browser back button
-
Hi, I am creating a search utility for my ASP.NET web application. There is a page Search.aspx, which accepts the search criteria and sends the search request to web service, which does the processing of that request and sends back the reply as a dataset. The search page then binds the dataset to the datagrid and is displayed on the page. When I navigate through various pages of datagrid, I can see the results on the same page (Search.aspx)as paging is applied on the grid. But when I click on browser back button, I want the page load event to be executed, which is not being executed. I tried with following code in Page_Load event of Search.aspx Response.CacheControl = "no-cache" Response.AddHeader("pragma", "no-cahe") Response.Expires = -1 But page load event does not occur. Please let me know the solution for this issue. Thanks in advance.