/// <summary> Adds controls to the main navigational page </summary> /// <param name="MainPlaceHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="PopulateNodeEvent"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the items </remarks> public void Add_Controls(PlaceHolder MainPlaceHolder, Custom_Tracer Tracer, TreeNodeEventHandler PopulateNodeEvent) { if (RequestSpecificValues.Results_Statistics == null) { return; } if (writeResult == null) { Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(RequestSpecificValues, RequestSpecificValues.Results_Statistics, RequestSpecificValues.Paged_Results); } Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(MainPlaceHolder, Tracer); }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="placeHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="populate_node_event"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the items </remarks> public void Add_Controls(PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event) { if (resultsStatistics == null) { return; } if (writeResult == null) { Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(resultsStatistics, pagedResults, codeManager, translations, allItemsTable, currentUser, currentMode, Tracer) { Hierarchy_Object = Hierarchy_Object, Skin = htmlSkin, Mode = currentMode }; } Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(placeHolder, Tracer); }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="placeHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="populate_node_event"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the browse </remarks> public void Add_Controls(PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event) { if ((RequestSpecificValues.Paged_Results != null) && (RequestSpecificValues.Results_Statistics != null)) { if (writeResult == null) { Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(RequestSpecificValues, RequestSpecificValues.Results_Statistics, RequestSpecificValues.Paged_Results) { Browse_Title = RequestSpecificValues.Public_Folder.FolderName, Folder_Owner_Name = RequestSpecificValues.Public_Folder.Name, Folder_Owner_Email = RequestSpecificValues.Public_Folder.Email }; } Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(placeHolder, Tracer); } }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="placeHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="populate_node_event"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the browse </remarks> public void Add_Controls(PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event) { if ((pagedResults != null) && (resultsStatistics != null)) { if (writeResult == null) { Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(resultsStatistics, pagedResults, codeManager, translations, allItemsTable, currentUser, currentMode, Tracer) { Current_Aggregation = Current_Aggregation, Skin = htmlSkin, Mode = currentMode, Browse_Title = publicFolder.FolderName, Folder_Owner_Name = publicFolder.Name, Folder_Owner_Email = publicFolder.Email }; } Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(placeHolder, Tracer); } }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="placeHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="populate_node_event"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the browse </remarks> public void Add_Controls(PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event) { if ((pagedResults != null) && (resultsStatistics != null)) { if (writeResult == null) { Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(resultsStatistics, pagedResults, codeManager, translations, allItemsTable, currentUser, currentMode, Tracer) { Hierarchy_Object = Hierarchy_Object, Skin = htmlSkin, Mode = currentMode, Browse_Title = publicFolder.FolderName, Folder_Owner_Name = publicFolder.Name, Folder_Owner_Email = publicFolder.Email }; } Tracer.Add_Trace("Public_Folder_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(placeHolder, Tracer); } }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="placeHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="populate_node_event"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the items </remarks> public void Add_Controls(PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event ) { if (resultsStatistics == null) return; if (writeResult == null) { Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(resultsStatistics, pagedResults, codeManager, translations, allItemsTable, currentUser, currentMode, Tracer) {Current_Aggregation = Current_Aggregation, Skin = htmlSkin, Mode = currentMode}; } Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(placeHolder, Tracer); }
/// <summary> Adds controls to the main navigational page </summary> /// <param name="MainPlaceHolder"> Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application</param> /// <param name="Tracer"> Trace object keeps a list of each method executed and important milestones in rendering </param> /// <param name="PopulateNodeEvent"> Event is used to populate the a tree node without doing a full refresh of the page </param> /// <returns> Sorted tree with the results in hierarchical structure with volumes and issues under the titles </returns> /// <remarks> This uses a <see cref="PagedResults_HtmlSubwriter"/> instance to render the items </remarks> public void Add_Controls(PlaceHolder MainPlaceHolder, Custom_Tracer Tracer, TreeNodeEventHandler PopulateNodeEvent ) { if (RequestSpecificValues.Results_Statistics == null) return; if (writeResult == null) { Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Building Result DataSet Writer"); writeResult = new PagedResults_HtmlSubwriter(RequestSpecificValues, RequestSpecificValues.Results_Statistics, RequestSpecificValues.Paged_Results); } Tracer.Add_Trace("Search_Results_HtmlSubwriter.Add_Controls", "Add controls"); writeResult.Add_Controls(MainPlaceHolder, Tracer); }