Beispiel #1
0
    protected void btnMethodDelete_Click(object sender, EventArgs e)
    {
        OSAEObjectTypeManager.ObjectTypeMethodDelete(txtMethodName.Text, hdnSelectedObjectName.Text);
        loadMethods();
        int selectedRow = Int32.Parse(hdnSelectedMethodRow.Text) - 1;

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