Removed ~/Umbraco/test.aspx - this literally didn't do anything, was never referenced anywhere and threw YSODs when the button was clicked.
This commit is contained in:
@@ -2235,7 +2235,6 @@
|
||||
<Content Include="Umbraco\Settings\Stylesheet\editstylesheet.aspx" />
|
||||
<Content Include="Umbraco\Settings\Stylesheet\Property\EditStyleSheetProperty.aspx" />
|
||||
<Content Include="Umbraco\Dialogs\sort.aspx" />
|
||||
<Content Include="Umbraco\test.aspx" />
|
||||
<Content Include="Umbraco\tree.aspx" />
|
||||
<Content Include="Umbraco\treeInit.aspx" />
|
||||
<Content Include="Umbraco\umbraco.aspx" />
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="True" Inherits="umbraco.cms.presentation.test" trace="false" validateRequest="false" %>
|
||||
<html>
|
||||
<body>
|
||||
<form runat="server" id="form">
|
||||
<asp:ScriptManager ID="scriptmanager" runat="server"></asp:ScriptManager>
|
||||
<asp:placeholder id="testHolder" runat="server"></asp:placeholder>
|
||||
<asp:Button ID="button" runat="server" onclick="button_Click" />
|
||||
<asp:PlaceHolder ID="result" runat="server"></asp:PlaceHolder>
|
||||
</form></body></html>
|
||||
@@ -1555,13 +1555,6 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="umbraco.presentation\umbraco\test.aspx.cs">
|
||||
<DependentUpon>test.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="umbraco.presentation\umbraco\test.aspx.designer.cs">
|
||||
<DependentUpon>test.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="umbraco.presentation\umbraco\timerModule.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
@@ -2017,7 +2010,6 @@
|
||||
<Content Include="umbraco.presentation\umbraco\dialogs\sort.aspx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\test.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\tree.aspx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="True" Inherits="umbraco.cms.presentation.test" trace="false" validateRequest="false" %>
|
||||
<html>
|
||||
<body>
|
||||
<form runat="server" id="form">
|
||||
<asp:ScriptManager ID="scriptmanager" runat="server"></asp:ScriptManager>
|
||||
<asp:placeholder id="testHolder" runat="server"></asp:placeholder>
|
||||
<asp:Button ID="button" runat="server" onclick="button_Click" />
|
||||
<asp:PlaceHolder ID="result" runat="server"></asp:PlaceHolder>
|
||||
</form></body></html>
|
||||
@@ -1,61 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Web;
|
||||
using System.Web.SessionState;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using umbraco.cms.businesslogic.template;
|
||||
using System.Xml.Xsl;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
using System.IO;
|
||||
|
||||
|
||||
using umbraco.cms.businesslogic.web;
|
||||
using umbraco.NodeFactory;
|
||||
using umbraco.controls;
|
||||
|
||||
namespace umbraco.cms.presentation
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for test.
|
||||
/// </summary>
|
||||
public partial class test : BasePages.UmbracoEnsuredPage
|
||||
{
|
||||
protected macroParameterControl mp = new macroParameterControl();
|
||||
|
||||
protected void Page_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
Assembly a = Assembly.Load("__code");
|
||||
Type[] t = a.GetTypes();
|
||||
}
|
||||
|
||||
#region Web Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
result.Controls.Add(new LiteralControl("Macro tag: " + Server.HtmlEncode(mp.GetMacroTag()) + " <br/>"));
|
||||
IDictionaryEnumerator ide = mp.ParameterValues.GetEnumerator();
|
||||
while (ide.MoveNext())
|
||||
result.Controls.Add(
|
||||
new LiteralControl("<li>" + ide.Key.ToString() + ": " + ide.Value.ToString() + "</li>"));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3053
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace umbraco.cms.presentation {
|
||||
|
||||
|
||||
public partial class test {
|
||||
|
||||
/// <summary>
|
||||
/// form control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form;
|
||||
|
||||
/// <summary>
|
||||
/// scriptmanager control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager scriptmanager;
|
||||
|
||||
/// <summary>
|
||||
/// testHolder control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder testHolder;
|
||||
|
||||
/// <summary>
|
||||
/// button control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button button;
|
||||
|
||||
/// <summary>
|
||||
/// result control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user