BindingNavigator
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Last updated
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Last updated
The BindingNavigator control represents a standardized way to navigate and manipulate data on a form. In most cases, a BindingNavigator is paired with a BindingSource control to move through data records on a form and interact with them. In these cases, the BindingSource property is set to the associated Wisej.Web.BindingSource component that acts as a data source.
By default, the BindingNavigator control's user interface (UI) is composed of a series of ToolStrip buttons, text boxes, and static text elements for most common data-related actions, such as adding data, deleting data, and navigating through data. Each of these controls can be retrieved or set through an associated member of the BindingNavigator control.
Likewise, there is also a one-to-one correspondence to members within the BindingSource class that programmatically perform the same functionality, as shown in the following table.
UI Control | BindingNavigator Member | BindingSource Member |
---|---|---|
Move First | MoveFirstItem | MoveFirst |
Move Previous | MovePreviousItem | MovePrevious |
Current Position | PositionItem | Current |
Count | CountItem | Count |
Move Next | MoveNextItem | MoveNext |
Move Last | MoveLastItem | MoveLast |
Add New | AddNewItem | AddNew |
Delete | DeleteItem | RemoveCurrent |
Adding a BindingNavigator control to a form and binding it to a data source, such as a BindingSource, will automatically establish the relationships in this table.
For a full list of properties, methods and events see the API documentation.
Any control contained within the BindingNavigator control can be customized. The default configuration contains the standard UI controls for navigating the source.