internal static void RenderSecondaryNavigation(TextWriter output, UserContext userContext) { if (output == null) { throw new ArgumentNullException("output"); } if (userContext == null) { throw new ArgumentNullException("userContext"); } TaskView.RenderSecondaryNavigationFilter(output, "divTskFlt"); NavigationHost.RenderNavigationTreeControl(output, userContext, NavigationModule.Tasks); }
protected override IListView CreateListView(ColumnId sortedColumn, SortOrder sortOrder) { TaskVirtualListView taskVirtualListView = new TaskVirtualListView(base.UserContext, "divVLV", sortedColumn, sortOrder, base.Folder, TaskView.GetFilter(this.filterType), (base.Folder is SearchFolder) ? SearchScope.AllFoldersAndItems : SearchScope.SelectedFolder, this.CanCreateItem); VirtualListView2 virtualListView = taskVirtualListView; string name = "iFltr"; int num = (int)this.filterType; virtualListView.AddAttribute(name, num.ToString(CultureInfo.InvariantCulture)); taskVirtualListView.LoadData(0, 50); return(taskVirtualListView); }