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(); }
private void RemoveLinkButtonClick(object sender, EventArgs e) { FriendHandler.UnBlockFriend(UserProfile.Current.UserId, ((LinkButton)sender).CommandArgument.ToGuid()); ReloadableControl.Reload(); }
private void UnBirthLinkButtonClick(object sender, EventArgs e) { FriendHandler.BirthdayNotification(UserProfile.Current.UserId.ToString(), ((LinkButton)sender).CommandArgument, 0); ReloadableControl.Reload(); }