页面代码
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
AutoEventWireup="true"
Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Home.Web.Controllers" %>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<frameset rows="59,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="<%=Url.Action("Top") %>" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset cols="213,*" frameborder="no" border="0" framespacing="0">
<frame src="<%=Url.Action("Left") %>" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="demo/files/editgongnen.htm" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
<noframes></noframes>
</asp:Content>
后台代码
IUserService _userService = ServiceLocator.Current.GetInstance<IUserService>();
public ActionResult Index()
{
return View("Index");
}
public ActionResult Main()
{
return View("Main");
}
public ActionResult Top()
{
return View("Top");
}
public ActionResult Left()
{
return View("Left");
}
public ActionResult Login()
{
return View();
}
但是打开index页面无法打开 left/top/页面。。
....页面模板问题。。