/// <summary> /// Handles the event that occurs when user confirms that the site domain alias object should be saved despite another site is using the same domain name. /// </summary> /// <param name="sender">Object sender</param> /// <param name="e">Event arguments</param> private void StopSiteAndSave(object sender, EventArgs e) { if (siteInfo != null) { // Stop the site in order to finish saving the domain alias siteInfo.Status = SiteStatusEnum.Stopped; siteInfo.Update(); Control.SaveData(null); } }