protected void btnSubmitToORCID_Click(object sender, EventArgs e) { try { if (UploadInfoToORCID1.ResearchExpertiseAndProfessionalInterests.Length > 5000) { UploadInfoToORCID1.ResearchExpertiseAndProfessionalInterestsErrors += "Error! Biography cannot be longer then 5000 characters"; return; } Profiles.ORCID.Utilities.ProfilesRNSDLL.BO.ORCID.Person person = UploadInfoToORCID1.GetPersonWithPageData(); Profiles.ORCID.Utilities.ProfilesRNSDLL.BLL.ORCID.PersonMessage personMessageBLL = new Profiles.ORCID.Utilities.ProfilesRNSDLL.BLL.ORCID.PersonMessage(); personMessageBLL.CreateUploadMessages(person, LoggedInInternalUsername); } catch (Exception ex) { lblErrorsUpload.Text = ex.Message; LogException(ex); } Response.Redirect("~/ORCID/Default.aspx", true); }
protected void btnSubmitToORCID_Click(object sender, EventArgs e) { try { if (UploadInfoToORCID1.ResearchExpertiseAndProfessionalInterests.Length > 5000) { UploadInfoToORCID1.ResearchExpertiseAndProfessionalInterestsErrors += "Error! Biography cannot be longer then 5000 characters"; return; } Profiles.ORCID.Utilities.ProfilesRNSDLL.BO.ORCID.Person person = UploadInfoToORCID1.GetPersonWithPageData(); Profiles.ORCID.Utilities.ProfilesRNSDLL.BLL.ORCID.PersonMessage personMessageBLL = new Profiles.ORCID.Utilities.ProfilesRNSDLL.BLL.ORCID.PersonMessage(); personMessageBLL.CreateUploadMessages(person, LoggedInInternalUsername); } catch (Exception ex) { lblErrorsUpload.Text = ex.Message; LogException(ex); } Response.Redirect("~/ORCID/Default.aspx", true); }