コード例 #1
0
    protected void btnMatchDelete_Click(object sender, EventArgs e)
    {
        OSAEScriptManager.PatternMatchDelete(hdnSelectedMatchName.Text);
        loadMatches();
        int selectedRow = Int32.Parse(hdnSelectedMatchRow.Text) - 1;

        if (selectedRow < 0)
        {
            hdnSelectedMatchRow.Text = "";
        }
        else
        {
            hdnSelectedMatchRow.Text = selectedRow.ToString();
        }
    }