protected void ButtonSocial_OnClick(object sender, EventArgs e) { try { UpdateAllSocialMedia(true); } catch (Exception ex) { FeedbackSocial.HandleException(ex); } }
protected void ButtonSocial_OnClick(object sender, EventArgs e) { try { // major kludge to support eamil appearing twice var oldEmail = Politicians.GetPublicEmail(PoliticianKey); UpdateAllSocialMedia(true); var newEmail = Politicians.GetPublicEmail(PoliticianKey); if (oldEmail != newEmail) { LoadContactTabData(); UpdatePanelContact.Update(); } } catch (Exception ex) { FeedbackSocial.HandleException(ex); } }