DataItemIndex Receives the index of the product being displayed within a DetailsView control with the underlying info supply.
The DetailsView control is usually bound to a data supply control (like the SqlDataSource control or ObjectDataSource Command) or to any data supply selection that implements the Procedure.
(Inherited from WebControl) HasChildViewState Gets a price indicating whether or not The present server Handle's kid controls have any saved view-point out configurations.
This system is helpful When the Compact View toggle is missing with the File Explorer command bar or if you like to regulate configurations with the typical Management panels.
(Inherited from Command) ItemType Receives or sets the identify of the data product variety for strongly typed data binding.
Compact View is especially handy for customers who want to minimize scrolling and maximize the number of obvious data files, improving upon performance in file administration duties.
The DetailsView Manage gives quite a few events that you could plan in opposition to. This helps you to run a tailor made routine Each time an occasion happens.
Takes place when among the pager buttons is clicked, but before the DetailsView Regulate handles the paging operation. This function is commonly utilized to cancel the paging operation.
Shield Data files: The closed Velcro safeguards the files from jumping out and colliding with Other folks in the car. The tiled structure shields the information from abrasion, which can be easy and functional.
DeleteMethod Will get or sets the title of the tactic over the page that is known as if the Handle performs a delete operation.
Input controls which can be appropriate for the sector's data style (such as a TextBox or perhaps a CheckBox Regulate) are exhibited that has a industry's value with the consumer to change. Clicking the Update button updates the file in the data resource, when clicking the Cancel button abandons any adjustments. Also, in insert method, The brand new button is replaced with an Insert along with a Terminate button, and vacant enter controls are exhibited for the person to enter the values for The brand new report.
Displays the value of the field in a data source like a hyperlink. This row area kind enables you to bind a next industry on the hyperlink's URL.
ChildControlsCreated Gets a value that suggests if the server Handle's youngster controls have been established.
AutoGenerateRows Receives or sets a price helpful hints indicating no matter whether row fields for every discipline in the data supply are routinely created and exhibited in a DetailsView Manage.