C# Class SobekCM.Library.ItemViewer.Viewers.Dataset_ViewData_ItemViewer

Dataset viewer shows the paged data from the dataset and allows simple searching/filtering
This class extends the abstract class abstractItemViewer_OLD and implements the iItemViewer interface.
Inheritance: abstractItemViewer_OLD
Datei anzeigen Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Dataset_ViewData_ItemViewer ( ) : System

Constructor for a new instance of the Dataset_ViewData_ItemViewer class

Perform_PreDisplay_Work ( Custom_Tracer Tracer ) : void

This provides an opportunity for the viewer to perform any pre-display work which is necessary before entering any of the rendering portions

This ensures the dataset has been read into memory/cache for rendering

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Stream to which to write the HTML for this subwriter

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

Write any additional values within the HTML Head of the final served page

Adds the javascript and styles needed for the jQuery datatables

Method Details

Dataset_ViewData_ItemViewer() public method

Constructor for a new instance of the Dataset_ViewData_ItemViewer class
public Dataset_ViewData_ItemViewer ( ) : System
return System

Perform_PreDisplay_Work() public method

This provides an opportunity for the viewer to perform any pre-display work which is necessary before entering any of the rendering portions
This ensures the dataset has been read into memory/cache for rendering
public Perform_PreDisplay_Work ( Custom_Tracer Tracer ) : void
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Main_Viewer_Section() public method

Stream to which to write the HTML for this subwriter
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Within_HTML_Head() public method

Write any additional values within the HTML Head of the final served page
Adds the javascript and styles needed for the jQuery datatables
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void