/// <summary> /// Aggiornamento pannello checkinout /// </summary> /// <param name="idDocument"></param> /// <param name="documentNumber"></param> public void Refresh(string idDocument, string documentNumber) { // Impostazione parametri relativi al documento corrente this.IDDocument = this.documentId.Value = idDocument; this.DocumentNumber = this.documentNumber.Value = documentNumber; this.hdnFilePath.Value = CheckOutFilePath; lastDocument = this.LastDocument; this.isSigned.Value = IsSignedFile.ToString(); // Registrazione eventi javascript this.RegisterClientScriptEvents(); //bool fileExist = false; //if (string.IsNullOrEmpty(UIManager.FileManager.getSelectedFile().fileSize)) //fileExist = true; // Verifica se l'utente è abilitato all'utilizzo della funzione // Inizializzazione del contesto di checkout per il documento corrente CheckInOutServices.InitializeContext(); this.ViewState["IsUserEnabled"] = true; this.ViewState["LastAcquiredDocumentExtension"] = null; this.fileExt.Value = LastAcquiredDocumentExtension; this.pnlFileExtValue.Update(); this.CheckInOutController.UpdateCheckOutPath(); }
private void Page_Load(object sender, System.EventArgs e) { this.InitializeLanguage(); this.fileExt.Value = LastAcquiredDocumentExtension; this.documentId.Value = IDDocument; this.documentNumber.Value = DocumentNumber; this.hdnFilePath.Value = CheckOutFilePath; this.isSigned.Value = IsSignedFile.ToString(); this.pnlFileExtValue.Update(); this.CheckInOutController.UpdateCheckOutPath(); }