Getting Started with WinForms BindingNavigator
The following tutorial will demonstrate how to get RadBindingNavigator 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:
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
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms BindingNavigator Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)