protected void OnPostListSelect(CarbolistItem target) { PostPanel.HidePanel(); if (target.Selected) { SelectedPost = target.Data as Post; // show details of current selected post ShowPostPanel(target); } else { SelectedPost = null; HidePostPanel(); } }
public void HidePostPanel() { PostPanel.HidePanel(); MeetingPanel.Visible = MeetingList.Visible; }
public void ShowPostPanel(CarbolistItem listItem, bool isNew = false) { PostPanel.ShowPanel(listItem, isNew); MeetingPanel.Visible = false; }