/// <summary> /// Handles the FileRemoved event of the fupSlingshotFile control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FileUploaderEventArgs"/> instance containing the event data.</param> protected void fupSlingshotFile_FileRemoved(object sender, FileUploaderEventArgs e) { pnlActions.Visible = false; hfMainSlingshotFileName.Value = ""; lSlingshotFileInfo.Text = ""; lAdditionalSlingshotFilesInfo.Text = ""; }
/// <summary> /// Handles the FileRemoved event of the fileUpDoc control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FileUploaderEventArgs"/> instance containing the event data.</param> protected void fileUpDoc_FileRemoved(object sender, FileUploaderEventArgs e) { var fileUpDoc = (Rock.Web.UI.Controls.FileUploader)sender; if (e.BinaryFileId.HasValue) { DocumentsState.Remove(e.BinaryFileId.Value); BindDocuments(true); } }
/// <summary> /// Handles the FileUploaded event of the fupAttachments control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FileUploaderEventArgs"/> instance containing the event data.</param> protected void fupAttachments_FileUploaded(object sender, FileUploaderEventArgs e) { UpdateAttachedFiles(true); }
/// <summary> /// Handles the FileRemoved event of the fupSlingshotFile control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FileUploaderEventArgs"/> instance containing the event data.</param> protected void fupSlingshotFile_FileRemoved(object sender, FileUploaderEventArgs e) { pnlActions.Visible = false; lSlingshotFileInfo.Text = ""; }