Exemple #1
0
        protected void CancelMyRequest(object sender, EventArgs e)
        {
            Message currentMessage = Message.LoadMessage(new Guid(((LinkButton)sender).CommandArgument), _4screen.CSB.Common.SiteConfig.GetSiteContext(UserProfile.Current));

            Message.DeleteMessage(currentMessage.MsgID, currentMessage.UserId);
            Message.DeleteMessage(currentMessage.MsgID, currentMessage.FromUserID);
            ReloadableControl.Reload();
        }
Exemple #2
0
 private void RemoveLinkButtonClick(object sender, EventArgs e)
 {
     FriendHandler.UnBlockFriend(UserProfile.Current.UserId, ((LinkButton)sender).CommandArgument.ToGuid());
     ReloadableControl.Reload();
 }
Exemple #3
0
 private void UnBirthLinkButtonClick(object sender, EventArgs e)
 {
     FriendHandler.BirthdayNotification(UserProfile.Current.UserId.ToString(), ((LinkButton)sender).CommandArgument, 0);
     ReloadableControl.Reload();
 }