(Inherited from Command) NamingContainer Will get a reference for the server Management's naming container, which makes a singular namespace for differentiating concerning server controls with the same ID house benefit.
From time to time, folders are already manually established to another view; an easy Look at can restore them to Details.
RowsGenerator Receives or sets an object that implements the IAutoFieldGenerator interface as a way to instantly populate rows during the view.
Each and every data row from the DetailsView control is created by declaring a field Regulate. Different row industry kinds determine the conduct in the rows while in the Manage. Subject controls derive from DataControlField. The following desk lists the several row industry sorts that may be utilised.
(Inherited from Management) DataMember Will get or sets the name in the checklist of information that the data-sure Handle binds to, in situations where the data resource has more than 1 unique record of data items.
The above mentioned command is illustrative; real instructions required will rely upon scripting mechanisms and paths with your environment.
The subsequent code instance demonstrates ways to declaratively increase row fields for the DetailsView Regulate.
Takes place when one of the pager buttons is clicked, but prior to the DetailsView Handle handles the paging Procedure. This function is usually used to terminate the paging Procedure.
Knowing your Laptop specs can help you troubleshoot efficiency problems, improve factors, put in appropriate software, and recognize the general capacity within your procedure.
It is possible to customise the looks from the DetailsView Manage by location the style properties for various parts of the Handle. The next table lists the design Homes that you can established.
Seek out policies that relate to folder views. You won't find a exact setting for that Details view, however , you can explore numerous selections you can find out more to determine constraints or defaults on folder navigation.
Shows the worth of the field in a knowledge resource to be a hyperlink. This row discipline sort helps you to bind a 2nd area for the hyperlink's URL.
(Inherited from Handle) EditRowStyle Will get a reference to the TableItemStyle object that means that you can set the looks of the info rows whenever a DetailsView Handle is in edit manner.
The DetailsView Management is used to Show only one record from a knowledge supply inside a table, where Each individual field on the record is shown inside additional reading a row in the table. It may be used in combination using a GridView control for grasp-detail eventualities. The DetailsView Command supports the about his following attributes: