Converted treeInit.aspx so that it's codebehind and designer files are in the UI project and only

the old TreeInit class exists in the Umbraco.Web project (not the aspx file). It needs to stay there
to maintain backwards compatibility for anyone that may have inherited from that file.
This commit is contained in:
Shannon Deminick
2012-10-01 03:57:57 +05:00
parent dd6d0e380e
commit bac038b82d
8 changed files with 91 additions and 127 deletions

View File

@@ -260,12 +260,19 @@
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="umbraco\Umbraco.aspx.cs">
<DependentUpon>umbraco.aspx</DependentUpon>
<Compile Include="umbraco\TreeInit.aspx.cs">
<DependentUpon>treeInit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco\TreeInit.aspx.designer.cs">
<DependentUpon>treeInit.aspx</DependentUpon>
</Compile>
<Compile Include="umbraco\Umbraco.aspx.cs">
<DependentUpon>umbraco.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco\Umbraco.aspx.designer.cs">
<DependentUpon>Umbraco.aspx.cs</DependentUpon>
<DependentUpon>Umbraco.aspx</DependentUpon>
</Compile>
<Content Include="config\splashes\booting.aspx" />
<Content Include="config\splashes\noNodes.aspx" />

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Umbraco.Web.UI.Umbraco
{
public partial class TreeInit : global::umbraco.cms.presentation.TreeInit
{
}
}

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Umbraco.Web.UI.Umbraco {
public partial class TreeInit {
}
}

View File

@@ -1,4 +1,4 @@
<%@ Page Language="c#" CodeBehind="treeInit.aspx.cs" AutoEventWireup="True" Inherits="umbraco.cms.presentation.TreeInit" %>
<%@ Page Language="c#" CodeBehind="TreeInit.aspx.cs" AutoEventWireup="True" Inherits="Umbraco.Web.UI.Umbraco.TreeInit" %>
<%@ Register Src="controls/Tree/TreeControl.ascx" TagName="TreeControl" TagPrefix="umbraco" %>
<%@ Register TagPrefix="umb" Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" %>
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>