private void GetReportGroupsForUserCallBack(LoadOperation <ReportGroup> lo) { TreeViewHelper.GetAccessLevels(WebContext.Current.User.Name, lo.Entities); TreeViewHelper.AssembleTreeView(RootGroups, ReportGroupAccessLevelType.Update, new List <ReportGroup>(lo.Entities), true, _reportGroupCode); PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(SelectReportGroupViewModel_PropertyChanged); }
private void GetReportGroupsForUserCallBack(LoadOperation <ReportGroup> lo) { TreeViewHelper.GetAccessLevels(WebContext.Current.User.Name, lo.Entities); TreeViewHelper.AssembleTreeView(RootGroups, ReportGroupAccessLevelType.ReadOnly, new List <ReportGroup>(lo.Entities), true); IsRetreivingReportGroups = false; IsSubmittingContext = false; }