Esempio n. 1
0
 protected void ButtonSocial_OnClick(object sender, EventArgs e)
 {
     try
     {
         UpdateAllSocialMedia(true);
     }
     catch (Exception ex)
     {
         FeedbackSocial.HandleException(ex);
     }
 }
Esempio n. 2
0
 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);
     }
 }