protected void btnAdd_Click(object sender, EventArgs e)
 {
     if (txtName.Text == "" || ddlScriptProcessor.SelectedValue == "")
     {
         alert.Visible = true;
     }
     else
     {
         OSAEScriptManager.ScriptAdd(txtName.Text, ddlScriptProcessor.SelectedValue, hdnScript.Value);
         loadScripts();
         loadDDLs();
         saveAlert.Visible = true;
     }
 }
 protected void btnTest_Click(object sender, EventArgs e)
 {
     OSAEScriptManager.ScriptDelete("Test Script");
     OSAEScriptManager.ScriptAdd("Test Script", ddlScriptProcessor.SelectedValue, hdnScript.Value);
     OSAEScriptManager.RunScript("Test Script", txtTestParameter.Text, "WebUI");
 }
 protected void btnTest_Click(object sender, EventArgs e)
 {
     OSAEScriptManager.ScriptDelete("Test Script");
     OSAEScriptManager.ScriptAdd("Test Script", ddlScriptProcessor.SelectedValue, hdnScript.Value);
     OSAEScriptManager.RunScript("Test Script", txtTestParameter.Text, Session["Username"].ToString());
 }