Wednesday, 21 March 2012

How to Keep Web Page As Same as when Browser Back button Pressed Using Cache Concept

Use this Given Below Line :



  1. Replies
    1. Put this line on the page load event in which you will be reach on from the Back button of the Browser.

      Example : Let You have Page "Default.aspx" and "Mypage.aspx". IF You have kept line in Defult.aspx.cs page load event and You use beck button of "MyPage.aspx" page in browser. Now You will see that the last changes on the form will be remain as It was before.

      Note : Don't Keep this line inside of page.IsPostBack condition.