Edit this page

Getting Started

The following tutorial will demonstrate how to get RadBindingNaviagator up and running:

1.Place RadBindingNaviagator control and BindingSource component on a form.

2. Setup the DataSource property of the BindingSource and the BindingSource property of RadBindingNaviagator.

this.bindingSource1.DataSource = new List<int>() { 1, 2, 3, 4, 5, 6, 7, 8 };
this.radBindingNavigator1.BindingSource = this.bindingSource1;

Me.bindingSource1.DataSource = New List(Of Integer)() From { _
 1, _
 2, _
 3, _
 4, _
 5, _
 6, _
 7, _
 8 _
}
Me.radBindingNavigator1.BindingSource = Me.bindingSource1

3. Press F5 to run the project and you should see the following:

bindingnavigator-overview-gettingstarted 001

caution

Due to the nature of the way RadBindingNavigator is created at design time its Name property should not be changed (does not apply if the control is created at runtime).
(This is needed in order to map the handler of a certain button with the button itself and have it accessible and editable at design time, as is it not possible to generate click event handler with the code in it at design time).

See Also