/// <summary> /// Handles the Click event of the btnSyncContentChannelItems control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void btnSyncContentChannelItems_Click(object sender, EventArgs e) { Task.Run(() => MediaFolderService.AddMissingSyncedContentChannelItems(hfId.ValueAsInt())); mdSyncMessage.Show("Content channel item creation has started and will continue in the background.", ModalAlertType.Information); }