commit
0663e534bb
@ -0,0 +1,15 @@
|
|||||||
|
/*- Menu Tabs --------------------------- */
|
||||||
|
|
||||||
|
.tabs .current {
|
||||||
|
font-weight: bolder;
|
||||||
|
font-size:13pt;
|
||||||
|
color: Blue;
|
||||||
|
border-bottom: solid 1px #F1F1F1;
|
||||||
|
background: url( "images/tableftB.gif" ) no-repeat left top;
|
||||||
|
background-position: 0% -42px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class CPMaster : System.Web.UI.MasterPage
|
||||||
|
{
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// CPMaster class.
|
@ -0,0 +1,6 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Tab.CP.WebForm1" Title="页面一" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一
|
||||||
|
<a href="http://www.51aspx.com" target="_blank">download from 51aspx.com</a>
|
||||||
|
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm1 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm1 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="Tab.CP.WebForm2" Title="页面二" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm2 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm2 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="Tab.CP.WebForm3" Title="页面三" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面三
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm3 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm3 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm4.aspx.cs" Inherits="Tab.CP.WebForm4" Title="页面四" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面四
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm4 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm4 class.
|
@ -0,0 +1,15 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Tab._Default" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||||
|
<head runat="server">
|
||||||
|
<title>使用CSS+SiteMap+UserControl+MasterPage实现简易的Tab </title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<div style="margin-top:30px;">
|
||||||
|
<a href="CP/WebForm1.aspx">进入演示>></a>
|
||||||
|
|
||||||
|
<br /><br /><br /><br /><br />
|
||||||
|
<a href="http://www.51aspx.com/CV/MasterPageSiteMapTab" target="_blank">download from 51aspx.com</a>
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// _Default class.
|
@ -0,0 +1,2 @@
|
|||||||
|
<%@ Control Language="C#" AutoEventWireup="true" Codebehind="CpMenu.ascx.cs" Inherits="Tab.Module.CpMenu" %>
|
||||||
|
<ul runat="server" id="ulMenu" />
|
@ -0,0 +1,15 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的常规信息通过下列属性集
|
||||||
|
// 控制。更改这些属性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("Tab")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("ZHLX")]
|
||||||
|
[assembly: AssemblyProduct("Tab")]
|
||||||
|
[assembly: AssemblyCopyright("版权所有 (C) ZHLX 2007")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
|||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProductVersion>8.0.50727</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{F324C4F0-B72F-4EB7-B8A6-AE8F29E03512}</ProjectGuid>
|
||||||
|
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>Tab</RootNamespace>
|
||||||
|
<AssemblyName>Tab</AssemblyName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<appSettings/>
|
||||||
|
<connectionStrings/>
|
||||||
|
|
||||||
|
<system.web>
|
||||||
|
<!--
|
||||||
|
设置 compilation debug="true" 将调试符号插入
|
||||||
|
已编译的页面中。但由于这会
|
||||||
|
影响性能,因此只在开发过程中将此值
|
||||||
|
设置为 true。
|
||||||
|
-->
|
||||||
|
<compilation debug="true" />
|
@ -0,0 +1 @@
|
|||||||
|
{"RootPath":"C:\\Users\\coder\\Desktop\\2024Code\\6\\20240605\\update\\MasterPageSiteMapTab\\Tab","ProjectFileName":"Tab.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"CP\\CP.Master.cs"},{"SourceFile":"CP\\CP.Master.designer.cs"},{"SourceFile":"CP\\WebForm1.aspx.cs"},{"SourceFile":"CP\\WebForm1.aspx.designer.cs"},{"SourceFile":"CP\\WebForm2.aspx.cs"},{"SourceFile":"CP\\WebForm2.aspx.designer.cs"},{"SourceFile":"CP\\WebForm3.aspx.cs"},{"SourceFile":"CP\\WebForm3.aspx.designer.cs"},{"SourceFile":"CP\\WebForm4.aspx.cs"},{"SourceFile":"CP\\WebForm4.aspx.designer.cs"},{"SourceFile":"Default.aspx.cs"},{"SourceFile":"Default.aspx.designer.cs"},{"SourceFile":"Module\\CpMenu.ascx.cs"},{"SourceFile":"Module\\CpMenu.ascx.designer.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.0.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Configuration\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Configuration.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Core\\v4.0_4.0.0.0__b77a5c561934e089\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_64\\System.Data\\v4.0_4.0.0.0__b77a5c561934e089\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System\\v4.0_4.0.0.0__b77a5c561934e089\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Drawing\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_64\\System.EnterpriseServices\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.EnterpriseServices.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_64\\System.Web\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Web.Mobile\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Web.Mobile.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Web.Services\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Web.Services.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Xml\\v4.0_4.0.0.0__b77a5c561934e089\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\6\\20240605\\update\\MasterPageSiteMapTab\\Tab\\bin\\Tab.dll","OutputItemRelativePath":"Tab.dll"},{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\6\\20240605\\update\\MasterPageSiteMapTab\\Tab\\bin\\Tab.pdb","OutputItemRelativePath":"Tab.pdb"}],"CopyToOutputEntries":[]}
|
@ -0,0 +1,15 @@
|
|||||||
|
/*- Menu Tabs --------------------------- */
|
||||||
|
|
||||||
|
.tabs .current {
|
||||||
|
font-weight: bolder;
|
||||||
|
font-size:13pt;
|
||||||
|
color: Blue;
|
||||||
|
border-bottom: solid 1px #F1F1F1;
|
||||||
|
background: url( "images/tableftB.gif" ) no-repeat left top;
|
||||||
|
background-position: 0% -42px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class CPMaster : System.Web.UI.MasterPage
|
||||||
|
{
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// CPMaster class.
|
@ -0,0 +1,6 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Tab.CP.WebForm1" Title="页面一" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一页面一
|
||||||
|
<a href="http://www.51aspx.com" target="_blank">download from 51aspx.com</a>
|
||||||
|
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm1 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm1 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="Tab.CP.WebForm2" Title="页面二" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二页面二
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm2 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm2 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="Tab.CP.WebForm3" Title="页面三" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面三
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm3 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm3 class.
|
@ -0,0 +1,4 @@
|
|||||||
|
<%@ Page Language="C#" MasterPageFile="~/CP/CP.Master" AutoEventWireup="true" CodeBehind="WebForm4.aspx.cs" Inherits="Tab.CP.WebForm4" Title="页面四" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="server">
|
||||||
|
页面四
|
||||||
|
</asp:Content>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Security;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
using System.Web.UI.WebControls.WebParts;
|
||||||
|
using System.Web.UI.HtmlControls;
|
||||||
|
|
||||||
|
namespace Tab.CP
|
||||||
|
{
|
||||||
|
public partial class WebForm4 : System.Web.UI.Page
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab.CP {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WebForm4 class.
|
@ -0,0 +1,15 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Tab._Default" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||||
|
<head runat="server">
|
||||||
|
<title>使用CSS+SiteMap+UserControl+MasterPage实现简易的Tab </title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<div style="margin-top:30px;">
|
||||||
|
<a href="CP/WebForm1.aspx">进入演示>></a>
|
||||||
|
|
||||||
|
<br /><br /><br /><br /><br />
|
||||||
|
<a href="http://www.51aspx.com/CV/MasterPageSiteMapTab" target="_blank">download from 51aspx.com</a>
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:2.0.50727.42
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Tab {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// _Default class.
|
@ -0,0 +1,2 @@
|
|||||||
|
<%@ Control Language="C#" AutoEventWireup="true" Codebehind="CpMenu.ascx.cs" Inherits="Tab.Module.CpMenu" %>
|
||||||
|
<ul runat="server" id="ulMenu" />
|
@ -0,0 +1,15 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的常规信息通过下列属性集
|
||||||
|
// 控制。更改这些属性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("Tab")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("ZHLX")]
|
||||||
|
[assembly: AssemblyProduct("Tab")]
|
||||||
|
[assembly: AssemblyCopyright("版权所有 (C) ZHLX 2007")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
|||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProductVersion>8.0.50727</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{F324C4F0-B72F-4EB7-B8A6-AE8F29E03512}</ProjectGuid>
|
||||||
|
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>Tab</RootNamespace>
|
||||||
|
<AssemblyName>Tab</AssemblyName>
|
||||||
|
<FileUpgradeFlags>
|
||||||
|
</FileUpgradeFlags>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<appSettings/>
|
||||||
|
<connectionStrings/>
|
||||||
|
<!--
|
||||||
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||||
|
|
||||||
|
The following attributes can be set on the <httpRuntime> tag.
|
||||||
|
<system.Web>
|
||||||
|
<httpRuntime targetFramework="4.8" />
|
||||||
|
</system.Web>
|
||||||
|
-->
|
||||||
|
<system.web>
|
||||||
|
<!--
|
||||||
|
设置 compilation debug="true" 将调试符号插入
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<appSettings/>
|
||||||
|
<connectionStrings/>
|
||||||
|
<!--
|
||||||
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||||
|
|
||||||
|
The following attributes can be set on the <httpRuntime> tag.
|
||||||
|
<system.Web>
|
||||||
|
<httpRuntime targetFramework="4.8" />
|
||||||
|
</system.Web>
|
||||||
|
-->
|
||||||
|
<system.web>
|
||||||
|
<!--
|
||||||
|
设置 compilation debug="true" 将调试符号插入
|
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
@ -0,0 +1,7 @@
|
|||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\bin\Tab.dll.config
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\bin\Tab.dll
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\bin\Tab.pdb
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\obj\Debug\Tab.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\obj\Debug\Tab.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\obj\Debug\Tab.dll
|
||||||
|
C:\Users\coder\Desktop\2024Code\6\20240605\update\MasterPageSiteMapTab\Tab\obj\Debug\Tab.pdb
|
@ -0,0 +1,5 @@
|
|||||||
|
obj\Debug\ResolveAssemblyReference.cache
|
||||||
|
bin\Tab.dll
|
||||||
|
bin\Tab.pdb
|
||||||
|
obj\Debug\Tab.dll
|
||||||
|
obj\Debug\Tab.pdb
|
Loading…
Reference in new issue