I downloaded a project from Telerik named WPFBindingNavigator to get bindingnavigator into my WPF project. The downloaded project works when run, but the designer throws an "object reference not set to an instance of the object" error. I am trying to replicate the functionality within my WPF application but cannot seem to get past this error during design time.
Following is a snippet of the error in the "Presentation" project (which references the WPFBindingNavigator, which is a class library):
The next code block raises the error mentioned above:
Any help will be appreciated. Also, if there is a better way of creating the BindingNavigation functionality within WPF, please let me know.
Thanks in advance.
Following is a snippet of the error in the "Presentation" project (which references the WPFBindingNavigator, which is a class library):
xmlns:bn="clr-namespace:BindingNavigator;assembly=BindingNavigator"<bn:BindingNavigator Grid.Row="0" Margin="2" Background="Wheat"
x:Name="navigator"
ItemsSource="{Binding People}"
AddNewItemCommand="{Binding AddNewPersonCommand}"
DeleteItemCommand="{Binding DeletePersonCommand}"
SaveCommand="{Binding SaveCommand}"/>Any help will be appreciated. Also, if there is a better way of creating the BindingNavigation functionality within WPF, please let me know.
Thanks in advance.