using System;
using System.Text;
namespace Swarmops.Frontend.Controls.Meta
{
public partial class IncludedScripts : ControlV5Base
{
public new string Controls { get; set; }
protected void Page_Load (object sender, EventArgs e)
{
StringBuilder scriptRef = new StringBuilder();
string[] controlNames = Controls.Split (',');
foreach (string controlName in controlNames)
{
switch (controlName.Trim().ToLowerInvariant())
{
case "fileupload":
scriptRef.Append (
"\r\n" +
"\r\n");
break;
case "switchbutton":
scriptRef.Append (
"\r\n" +
"\r\n");
break;
case "jsonparameters":
// Do nothing - this is now included stock, unconditionally
/*scriptRef.Append (
"");*/
break;
default:
break;
}
}
this.LiteralReference.Text = scriptRef.ToString();
}
}
}