protected void ChangeStatus_Click(object sender, EventArgs e) { if (StatusDropDown.SelectedIndex > 0) { AttendRegistrationEngine.CopyParticipantsChangeStatus(StatusDropDown.SelectedValue, StatusMailCheckBox.Checked); } System.Web.UI.ScriptManager.RegisterStartupScript(this, this.GetType(), "scriptid", "window.parent.location.href='" + EPiServer.Editor.PageEditing.GetEditUrl((CurrentPage as IContent).ContentLink) + "'", true); }