Esempio n. 1
0
    protected void btnDelete_Click(object sender, EventArgs e)
    {
        OSAEScriptManager.ScriptDelete(hdnSelectedScriptName.Text);
        loadScripts();
        deleteAlert.Visible = true;
        int selectedRow = Int32.Parse(hdnSelectedRow.Text) - 1;

        if (selectedRow < 0)
        {
            hdnSelectedRow.Text = "";
        }
        else
        {
            hdnSelectedRow.Text = selectedRow.ToString();
        }
    }
 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());
 }