Refresh first page grid data when comming back from second
How to refresh the first page grid data when i am comming from the second page and in my second page i am inserting data to the database
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 25, 2013, 4:26 AM EDT
we could disable the page cache. Then if we click the back button in the browser, the page will re-execute the page_load event to refresh the page.
The ex code is shown below.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Response.Buffer = true;
Response.CacheControl = "no-cache";
Response.AddHeader("Pragma", "no-cache");
Response.Expires = -1441;
}
}