Health​Record​Item​Data​Grid 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
System.Security.SecurityCritical
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

Health​Record​Item​Data​Grid()

Constructs a HealthRecordItemDataGrid instance with default values.

Properties

Action​Commands

Gets or sets the action commands.

Action​Header​Text

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

Action​Labels

Gets or sets the action link text.

Action​Spacer

Gets or sets the action links separator.

Alternating​Row​Css​Class

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

Cell​Padding

Gets or sets the cell padding for the data grid.

Cell​Spacing

Gets or sets the cell spacing for the data grid.

Css​Class

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

Data​Changed

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

Filter​Override

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

Grid​View​Client​Id

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

Is​Filtered

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

Is​Signed​Column​Value​Override

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

Java​Script​Row​Event​Handler

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

On​Client​Action

The event handler for client-side action events.

Page​Index

Gets or sets the page index to be shown.

Page​Size

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

Record

Gets the HealthVault record to use.

Result​Count

Gets the number of results returned in the data grid.

Show​Action​Links

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

Show​Audit​Columns

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

Show​Error​Messages

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.

Show​Is​Personal​Flag

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

Show​Is​Signed​Column

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.

Table​View

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

Type​Ids

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

Visible​Columns

The columns that should be shown in the data grid.

Methods

Create​Child​Controls()

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.

Handle​Action(​Object, ​Command​Event​Args)

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

On​Pre​Render(​Event​Args)

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

Populate​Grid​View()

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

Render(​Html​Text​Writer)

Renders the HTML for the HealthRecordItemDataGrid.

Events

Action

The event handler for the server-side action event.

Final​Pre​Render

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