HealthRecordItemDataGrid Class

Definition

An ASP.NET server control for viewing health record items.

[System.Security.SecurityCritical]
public class HealthRecordItemDataGrid : System.Web.UI.Control, System.Web.UI.INamingContainer
Inheritance
HealthRecordItemDataGrid
Attributes
Implements

Remarks

The HealthRecordItemDataGrid works with the HealthRecordItemDataTable to show a paged list of the health record items matching the specified search criteria.

This control can only be used inside a HealthServicePage.

Constructors

HealthRecordItemDataGrid()

Constructs a HealthRecordItemDataGrid instance with default values.

Properties

ActionCommands

Gets or sets the action commands.

ActionHeaderText

Gets or sets the header text for the action links column.

ActionLabels

Gets or sets the action link text.

ActionSpacer

Gets or sets the action links separator.

AlternatingRowCssClass

Gets or sets the CSS class used for alternating row styles.

CellPadding

Gets or sets the cell padding for the data grid.

CellSpacing

Gets or sets the cell spacing for the data grid.

CssClass

Gets or sets the CSS class used for the control layout.

DataChanged

Gets or sets a value which indicates to the data grid that data has changed and it should be refreshed.

FilterOverride

Gets or sets the filter to use to get information from the health record.

GridViewClientId

Gets the client ID of the grid view portion of the control.

IsFiltered

Gets a value that indicates whether the result data has been filtered by HealthVault.

IsSignedColumnValueOverride

Gets or sets a value shown in the signed column if the column is defined for the specified item type.

JavaScriptRowEventHandler

Gets or sets n event handler that gets fired when an event occurs within a row of the data grid.

OnClientAction

The event handler for client-side action events.

PageIndex

Gets or sets the page index to be shown.

PageSize

Gets or sets the number or results that are shown per page.

Record

Gets the HealthVault record to use.

ResultCount

Gets the number of results returned in the data grid.

ShowActionLinks

Gets or sets a value which indicates to the data grid whether or not to show the action links in each row.

ShowAuditColumns

Gets or sets a value which indicates to the data grid whether or not to show the audit columns for items.

ShowErrorMessages

Gets or sets a value that indicates whether the data grid should automatically show error messages when no results are found or when the results are filtered.

ShowIsPersonalFlag

Gets or sets a value which indicates to the data grid whether or not to show the personal flag for items marked as personal.

ShowIsSignedColumn

Gets or sets a value which indicates to the data grid whether or not to show the signed column if the column is defined for the specified item type.

TableView

Gets or sets the type of view the data table exposes through the data grid.

TypeIds

Gets or sets the unique type identifier for the health record items to show in the data grid.

VisibleColumns

The columns that should be shown in the data grid.

Methods

CreateChildControls()

Called by the ASP.NET page to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

HandleAction(Object, CommandEventArgs)

The default event handler for the server-side action event.

OnPreRender(EventArgs)

Overrides the base class OnPreRender to populate the data from HealthVault.

PopulateGridView()

Populates the encapsulated GridView by building the search filters or use the FilterOverride to get health record information.

Render(HtmlTextWriter)

Renders the HTML for the HealthRecordItemDataGrid.

Events

Action

The event handler for the server-side action event.

FinalPreRender

The event handler for a "last chance" look at the grid before it is rendered.