protected void btnPropDelete_Click(object sender, EventArgs e) { OSAEObjectTypeManager.ObjectTypePropertyDelete(txtPropName.Text, hdnSelectedObjectName.Text); txtPropName.Text = ""; txtPropDefault.Text = ""; loadProperties(); }
protected void btnPropDelete_Click(object sender, EventArgs e) { OSAEObjectTypeManager.ObjectTypePropertyDelete(txtPropName.Text, hdnSelectedObjectName.Text); txtPropName.Text = ""; txtPropDefault.Text = ""; loadProperties(); int selectedRow = Int32.Parse(hdnSelectedPropRow.Text) - 1; if (selectedRow < 0) { hdnSelectedPropRow.Text = ""; } else { hdnSelectedPropRow.Text = selectedRow.ToString(); } }