修改了一个导航页面,导航页面需要通过权限判断来确认一些栏目的显示。最后通过主页的ifram链接。但是发现有时候ifram中链接的导航页面的Page Load的事件有时候无法执行。
想请教有没有遇到过类似的情况。protected void Page_Load(object sender, EventArgs e)
        {
            Response.Expires = -100;
            if (!Page.IsPostBack)
            {
                BindMenu();
            }
        }
<%@ Page Language="C#" AutoEventWireup="true"  CodeBehind="NewMenu.aspx.cs" Inherits="NewMenu" %>