jssong2000
asked on
Master Page back button
Hi Expert,
There is a Back button in asp.net master page.
<asp:Button ID="btnBack" runat="server" Text="Back" OnClientClick="history.bac k(); return false;" />
It works in one page:
<%@ Page Language="C#" MasterPageFile="~/Dq.maste r" AutoEventWireup="true" CodeBehind="ReviewPage.asp x.cs" Inherits="ReviewPage" Title="Review Detail" %>
But it does not work in another page:
<%@ Page Language="C#" MasterPageFile="~/MyWeb.ma ster" AutoEventWireup="true" CodeBehind="EmployeeFileDo cuments.as px.cs" Inherits="MyWeb.Reports.Em ployeeFile Documents" Title="Employee Documents Image Report" %>
I am not sure it is the following problem or not:
Inherits="MyWeb.Reports.Em ployeeFile Documents"
Sometimes I got the following error. Appreciated!
Webpage has expired
Most likely cause:
•The local copy of this webpage is out of date, and the website requires that you download it again.
Something to try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.
More information More information
If you continue to have this problem, try the following:
1.In Internet Explorer, click the Tools button , click Internet Options, and then click the Advanced tab.
2.Scroll down and clear the “Do not save encrypted pages to disk” option in the Security settings.
There is a Back button in asp.net master page.
<asp:Button ID="btnBack" runat="server" Text="Back" OnClientClick="history.bac
It works in one page:
<%@ Page Language="C#" MasterPageFile="~/Dq.maste
But it does not work in another page:
<%@ Page Language="C#" MasterPageFile="~/MyWeb.ma
I am not sure it is the following problem or not:
Inherits="MyWeb.Reports.Em
Sometimes I got the following error. Appreciated!
Webpage has expired
Most likely cause:
•The local copy of this webpage is out of date, and the website requires that you download it again.
Something to try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.
More information More information
If you continue to have this problem, try the following:
1.In Internet Explorer, click the Tools button , click Internet Options, and then click the Advanced tab.
2.Scroll down and clear the “Do not save encrypted pages to disk” option in the Security settings.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Response.Cache.SetNoStore(