The members of System.Web.UI.WebControls.DetailsView are listed below.
See Also: Inherited members from System.Web.UI.WebControls.CompositeDataBoundControl
Initializes a new instance of the System.Web.UI.WebControls.DetailsView class. |
AllowPaging | bool.
Gets or sets a value indicating whether the paging feature is enabled. | |
[read-only] | AlternatingRowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the alternating data rows in a System.Web.UI.WebControls.DetailsView control. |
AutoGenerateDeleteButton | bool.
Gets or sets a value indicating whether the built-in control to delete the current record is displayed in a System.Web.UI.WebControls.DetailsView control. | |
AutoGenerateEditButton | bool.
Gets or sets a value indicating whether the built-in controls to edit the current record are displayed in a System.Web.UI.WebControls.DetailsView control. | |
AutoGenerateInsertButton | bool.
Gets or sets a value indicating whether the built-in controls to insert a new record are displayed in a System.Web.UI.WebControls.DetailsView control. | |
AutoGenerateRows | bool.
Gets or sets a value indicating whether row fields for each field in the data source are automatically generated and displayed in a System.Web.UI.WebControls.DetailsView control. | |
BackImageUrl | string.
Gets or sets the URL to an image to display in the background of a System.Web.UI.WebControls.DetailsView control. | |
[read-only] | BottomPagerRow | DetailsViewRow.
Gets a System.Web.UI.WebControls.DetailsViewRow object that represents the bottom pager row in a System.Web.UI.WebControls.DetailsView control. |
Caption | string.
Gets or sets the text to render in an HTML caption element in a System.Web.UI.WebControls.DetailsView control. This property is provided to make the control more accessible to users of assistive technology devices. | |
CaptionAlign | TableCaptionAlign.
Gets or sets the horizontal or vertical position of the HTML caption element in a System.Web.UI.WebControls.DetailsView control. This property is provided to make the control more accessible to users of assistive technology devices. | |
CellPadding | int.
Gets or sets the amount of space between the contents of a cell and the cell's border. | |
CellSpacing | int.
Gets or sets the amount of space between cells. | |
[read-only] | CommandRowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of a command row in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | CurrentMode | DetailsViewMode.
Gets the current data-entry mode of the System.Web.UI.WebControls.DetailsView control. |
[read-only] | DataItem | object.
Gets the data item bound to the System.Web.UI.WebControls.DetailsView control. |
[read-only] | DataItemCount | int.
Gets the number of items in the underlying data source. |
[read-only] | DataItemIndex | int.
Gets the index of the item being displayed in a System.Web.UI.WebControls.DetailsView control from the underlying data source. |
[read-only] | DataKey | DataKey.
Gets a System.Web.UI.WebControls.DataKey object that represents the primary key of the displayed record. |
DataKeyNames | string[].
Gets or sets an array that contains the names of the key fields for the data source. | |
DefaultMode | DetailsViewMode.
Get or sets the default data-entry mode of the System.Web.UI.WebControls.DetailsView control. | |
[read-only] | EditRowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the data rows when a System.Web.UI.WebControls.DetailsView control is in edit mode. |
[read-only] | EmptyDataRowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the empty data row displayed when the data source bound to a System.Web.UI.WebControls.DetailsView control does not contain any records. |
EmptyDataTemplate | System.Web.UI.ITemplate.
Gets or sets the user-defined content for the empty data row rendered when a System.Web.UI.WebControls.DetailsView control is bound to a data source that does not contain any records. | |
EmptyDataText | string.
Gets or sets the text to display in the empty data row rendered when a System.Web.UI.WebControls.DetailsView control is bound to a data source that does not contain any records. | |
EnablePagingCallbacks | bool.
Gets or sets a value indicating whether client-side callback functions are used for paging operations in the System.Web.UI.WebControls.DetailsView control. | |
[read-only] | FieldHeaderStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the header column in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | Fields | DataControlFieldCollection.
Gets a collection of System.Web.UI.WebControls.DataControlField objects that represent the explicitly declared row fields in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | FooterRow | DetailsViewRow.
Gets a System.Web.UI.WebControls.DetailsViewRow object that represents the footer row in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | FooterStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the footer row in a System.Web.UI.WebControls.DetailsView control. |
FooterTemplate | System.Web.UI.ITemplate.
Gets or sets the user-defined content for the footer row in a System.Web.UI.WebControls.DetailsView control. | |
FooterText | string.
Gets or sets the text to display in the footer row of a System.Web.UI.WebControls.DetailsView control. | |
GridLines | GridLines.
Gets or sets the gridline style for a System.Web.UI.WebControls.DetailsView control. | |
[read-only] | HeaderRow | DetailsViewRow.
Gets a System.Web.UI.WebControls.DetailsViewRow object that represents the header row in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | HeaderStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the header row in a System.Web.UI.WebControls.DetailsView control. |
HeaderTemplate | System.Web.UI.ITemplate.
Gets or sets the user-defined content for the header row in a System.Web.UI.WebControls.DetailsView control. | |
HeaderText | string.
Gets or sets the text to display in the header row of a System.Web.UI.WebControls.DetailsView control. | |
HorizontalAlign | HorizontalAlign.
Gets or sets the horizontal alignment of a System.Web.UI.WebControls.DetailsView control on the page. | |
[read-only] | InsertRowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the data rows in a System.Web.UI.WebControls.DetailsView control when the System.Web.UI.WebControls.DetailsView control is in insert mode. |
[read-only] | PageCount | int.
Gets the number of records in the data source. |
PageIndex | int.
Gets or sets the index of the displayed record. | |
[read-only] | PagerSettings | PagerSettings.
Gets a reference to the System.Web.UI.WebControls.PagerSettings object that allows you to set the properties of the pager buttons in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | PagerStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the pager row in a System.Web.UI.WebControls.DetailsView control. |
PagerTemplate | System.Web.UI.ITemplate.
Gets or sets the custom content for the pager row in a System.Web.UI.WebControls.DetailsView control. | |
[read-only] | Rows | DetailsViewRowCollection.
Gets a collection of System.Web.UI.WebControls.DetailsViewRow objects that represent the data rows in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | RowStyle | TableItemStyle.
Gets a reference to the System.Web.UI.WebControls.TableItemStyle object that allows you to set the appearance of the data rows in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | SelectedValue | object.
Gets the data key value of the current record in a System.Web.UI.WebControls.DetailsView control. |
[read-only] | TopPagerRow | DetailsViewRow.
Gets a System.Web.UI.WebControls.DetailsViewRow object that represents the top pager row in a System.Web.UI.WebControls.DetailsView control. |
[read-only] override | TagKey | System.Web.UI.HtmlTextWriterTag.
Gets the System.Web.UI.HtmlTextWriterTag value for the System.Web.UI.WebControls.DetailsView control. |
ChangeMode(DetailsViewMode)
| ||
override | DataBind()
| |
DeleteItem()
| ||
InsertItem(bool)
| ||
IsBindableType(Type)
| ||
UpdateItem(bool)
|
ItemCommand |
Occurs when a button within a System.Web.UI.WebControls.DetailsView control is clicked. | |
ItemCreated |
Occurs when a record is created in a System.Web.UI.WebControls.DetailsView control. | |
ItemDeleted |
Occurs when a Delete button within a System.Web.UI.WebControls.DetailsView control is clicked, but after the delete operation. | |
ItemDeleting |
Occurs when a Delete button within a System.Web.UI.WebControls.DetailsView control is clicked, but before the delete operation. | |
ItemInserted |
Occurs when an Insert button within a System.Web.UI.WebControls.DetailsView control is clicked, but after the insert operation. | |
ItemInserting |
Occurs when an Insert button within a System.Web.UI.WebControls.DetailsView control is clicked, but before the insert operation. | |
ItemUpdated |
Occurs when an Update button within a System.Web.UI.WebControls.DetailsView control is clicked, but after the update operation. | |
ItemUpdating |
Occurs when an Update button within a System.Web.UI.WebControls.DetailsView control is clicked, but before the update operation. | |
ModeChanged |
Occurs when a System.Web.UI.WebControls.DetailsView control attempts to change between edit, insert, and read-only mode, but after the DetailsView.CurrentMode property is updated. | |
ModeChanging |
Occurs when a System.Web.UI.WebControls.DetailsView control attempts to change between edit, insert, and read-only mode, but before the DetailsView.CurrentMode property is updated. | |
PageIndexChanged |
Occurs when the value of the DetailsView.PageIndex property changes after a paging operation. | |
PageIndexChanging |
Occurs when the value of the DetailsView.PageIndex property changes before a paging operation. |
[read-only] | System.Web.UI.IDataItemContainer.DataItemIndex | int.
For a description of this member, see DetailsView.DataItemIndex. |
[read-only] | System.Web.UI.IDataItemContainer.DisplayIndex | int.
For a description of this member, see System.Web.UI.IDataItemContainer.DisplayIndex. |
System.Web.UI.ICallbackEventHandler.GetCallbackResult |
See the method DetailsView.GetCallbackResult. | |
System.Web.UI.WebControls.ICallbackContainer.GetCallbackScript |
Creates the callback script for the System.Web.UI.WebControls.DetailsView control. | |
System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions |
For a description of this member, see IPostBackContainer.GetPostBackOptions(IButtonControl). | |
System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent |
Raises the callback event using the specified arguments. | |
System.Web.UI.IPostBackEventHandler.RaisePostBackEvent |
For a description of this member, see System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(string). |