I have a gridview control in my default.aspx
page, and in page_load of this control, I populate this gridview.
protected void Page_Load(object sender, EventArgs e)
{
grd_UserOrderList.DataSource = UserOrderListData.GetOrderList();
grd_UserOrderList.DataBind();
}
What happens is that when I enter default.aspx
page, I see 4 items in my gridview, I enter one of the items, and then click back button of the browser, I see 2 items. I checked the page_load function and it is not fired when back button is clicked. When I click refresh, again there is 4 items. I have this problem when working in my computer, but when I publish my project to server, I didn't have the same problem. What could be the reason? I am not looking for a temporary fix like disabling cache. I am using ie9 as browser.