Debugging on Sandbox

This commit is contained in:
Rick Falkvinge
2017-01-02 20:29:44 +01:00
parent 6bb384e269
commit 64b83b78d6
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Controls.Swarm.TreePositions" CodeFile="TreePositions.ascx.cs" %>
<%@ Register TagPrefix="Swarmops5Workaround" TagName="ComboPeople" src="~/Controls/v5/Swarm/ComboPeople.ascx" %>
<%@ Register TagPrefix="Swarmops5Workaround" TagName="DropDown" src="~/Controls/v5/Base/DropDown.ascx" %>
<%@ Register TagPrefix="Swarmops5" TagName="ModalDialog" src="~/Controls/v5/Base/ModalDialog.ascx" %>
<script language="javascript" type="text/javascript">
@@ -195,7 +196,7 @@
<h2><asp:Label runat="server" ID="LabelModalHeader"/></h2>
<div class="entryFields">
<Swarmops5Workaround:ComboPeople ID="DropPerson" runat="server" />
<Swarmops5:DropDown ID="DropDuration" runat="server" />
<Swarmops5Workaround:DropDown ID="DropDuration" runat="server" />
<input type="button" id="<%=this.ClientID %>_buttonAssign" class="buttonAccentColor" value="#Assign#" />
</div>
<div class="entryLabels">
@@ -37,7 +37,6 @@ namespace Swarmops.Frontend.Controls.Swarm
this.LiteralButtonAssign.Text = Resources.Controls.Swarm.Positions_ButtonAssign;
this.DropDuration.Items.Add (new ListItem(Resources.Global.Timespan_Selection_OneMonth, "1"));
throw new NotImplementedException(); // Debugging to find the Null Reference
this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_TwoMonths, "2"));
this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_ThreeMonths, "3"));
this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_SixMonths, "6"));