We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

RecordNavigationControl

Is it possible to bind the RecordNavigationControl to a DataView? If so, what is the syntax?

1 Reply

AD Administrator Syncfusion Team December 24, 2003 08:38 AM UTC

There is no window associated with a DataView, so you cannot just drop it on a RecordNavigationControl and have something displayed in the container. But you handle the CurrentReocrdChanged event and tie the DataView CurrencyManager position to the CurrentRecord in the navigation control. This way you could use the navigation control to position the CurrentPosition in the DataView. Attached is a little sample that has several textboxes bound to columns in a DataTable.DefaultView, and uses a RecordNavigationControl to move the values in change the textbox values by moving the position in the DataView.

Loader.
Up arrow icon