protected void InvitesDataGridItemCommand(object sender, DataGridCommandEventArgs e) { if (e.CommandName.Equals("reject")) { Group g = new Group(int.Parse(e.CommandArgument.ToString())); GroupUsr gu = new GroupUsr(Usr.Current.K, g.K); if (gu.Status.Equals(GroupUsr.StatusEnum.Invite)) { g.InviteReject(Usr.Current, gu); } BindInvites(); //ContainerPage.AnchorSkip("PanelInvites"); } }