HyperLinkColumn Members
.NET Framework 3.0
A column type for the DataGrid control that contains a hyperlink for each item in the column.
The following tables list the members exposed by the HyperLinkColumn type.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| DataNavigateUrlField | Gets or sets the field from a data source to bind to the URL of the hyperlinks in the HyperLinkColumn. |
| DataNavigateUrlFormatString | Gets or sets the display format for the URL of the hyperlinks in the HyperLinkColumn when the URL is data-bound to a field in a data source. |
| DataTextField | Gets or sets the field from a data source to bind to the text caption of the hyperlinks in the HyperLinkColumn. |
| DataTextFormatString | Gets or sets the display format for the text caption of the hyperlinks in the HyperLinkColumn column. |
| FooterStyle | Gets the style properties for the footer section of the column.(inherited from DataGridColumn) |
| FooterText | Gets or sets the text displayed in the footer section of the column.(inherited from DataGridColumn) |
| HeaderImageUrl | Gets or sets the location of an image to display in the header section of the column.(inherited from DataGridColumn) |
| HeaderStyle | Gets the style properties for the header section of the column.(inherited from DataGridColumn) |
| HeaderText | Gets or sets the text displayed in the header section of the column.(inherited from DataGridColumn) |
| ItemStyle | Gets the style properties for the item cells of the column.(inherited from DataGridColumn) |
| NavigateUrl | Gets or sets the URL to link to when a hyperlink in the column is clicked. |
| SortExpression | Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.(inherited from DataGridColumn) |
| Target | Gets or sets the target window or frame to display the Web page content that is linked to when the hyperlink in the column is clicked. |
| Text | Gets or sets the text caption to display for the hyperlinks in the column. |
| Visible | Gets or sets a value that indicates whether the column is visible in the DataGrid control.(inherited from DataGridColumn) |
| Name | Description | |
|---|---|---|
| DesignMode | Gets a value that indicates whether the column is in design mode.(inherited from DataGridColumn) |
| IsTrackingViewState | Gets a value that determines whether the DataGridColumn object is marked to save its state.(inherited from DataGridColumn) |
| Owner | Gets the DataGrid control that the column is a member of.(inherited from DataGridColumn) |
| ViewState | Gets the System.Web.UI.StateBag object that allows a column derived from the DataGridColumn class to store its properties.(inherited from DataGridColumn) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| Initialize | Overridden. |
| InitializeCell | Overridden. Initializes the cell representing this column with the contained hyperlink. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns the string representation of the column. (inherited from DataGridColumn) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| FormatDataNavigateUrlValue | Formats a data-bound URL using the format specified by the DataNavigateUrlFormatString property. |
| FormatDataTextValue | Formats a data-bound text caption using the format specified by the DataTextFormatString property. |
| LoadViewState | Loads the state of the DataGridColumn object. (inherited from DataGridColumn) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| OnColumnChanged | Calls the DataGridDesigner.OnColumnsChanged method. (inherited from DataGridColumn) |
| SaveViewState | Saves the current state of the DataGridColumn object. (inherited from DataGridColumn) |
| TrackViewState | Causes tracking of view-state changes to the server control so they can be stored in the server control's System.Web.UI.StateBag object. (inherited from DataGridColumn) |
Reference
HyperLinkColumn ClassSystem.Web.UI.WebControls Namespace
DataGridColumn
DataGridColumnCollection
DataGrid
HyperLink
BoundColumn
ButtonColumn
EditCommandColumn
TemplateColumn
Other Resources
Securing Standard ControlsHow to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings
Introduction to Validating User Input in ASP.NET Web Pages
Community Additions
ADD
Show: