Hello,
I’m shifting from WinForms UI to Telerik WPF UI and I can’t find any control like WinForms Binding Navigator. After looking into documentation I found CollectionNavigator control but that’s not what I was looking for.
As per this Telerik blog (https://www.telerik.com/blogs/a-binding-navigator-in-the-xaml-world) I tried creating a WinForms like Navigator. But unfortunately it is throwing null reference exception in design time every time we try to re-build it. I have downloaded code from blog only and trying to run it. Please see the screenshot attached.
Would you please let me know if there is any control like this in Telerik WPF or if there is any solution for the code in the blog.
Thanks,
Kishan
I’m shifting from WinForms UI to Telerik WPF UI and I can’t find any control like WinForms Binding Navigator. After looking into documentation I found CollectionNavigator control but that’s not what I was looking for.
As per this Telerik blog (https://www.telerik.com/blogs/a-binding-navigator-in-the-xaml-world) I tried creating a WinForms like Navigator. But unfortunately it is throwing null reference exception in design time every time we try to re-build it. I have downloaded code from blog only and trying to run it. Please see the screenshot attached.
Would you please let me know if there is any control like this in Telerik WPF or if there is any solution for the code in the blog.
Thanks,
Kishan
5 Answers, 1 is accepted
0
Hello Kishan,
I will check your question and write back within the next few hours.
Regards,
Martin Ivanov
Progress Telerik
I will check your question and write back within the next few hours.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Hello Kishan,
Currently, there is not such control in the UI for WPF suite. In order to achieve your requirement you can use RadToolBar for the navigation part and RadPropertyGrid for the current item information.
As for the example from the blog post. The error appears only at design-time. If you run the project the control will be shown properly.
II hope that helps.
Regards,
Martin Ivanov
Progress Telerik
Currently, there is not such control in the UI for WPF suite. In order to achieve your requirement you can use RadToolBar for the navigation part and RadPropertyGrid for the current item information.
As for the example from the blog post. The error appears only at design-time. If you run the project the control will be shown properly.
II hope that helps.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0

Kishan
Top achievements
Rank 1
answered on 24 May 2018, 07:33 AM
Is there any way to resolve that design-time error?
0
Accepted
Hello Kishan,
To resolve the error go to the BindingNavigator class and include a null check for the "obj" parameter of the IsCollection() method. Here is the modified version of the method.
Then rebuild the projects and re-open the Visual Studio designer.
Regards,
Martin Ivanov
Progress Telerik
To resolve the error go to the BindingNavigator class and include a null check for the "obj" parameter of the IsCollection() method. Here is the modified version of the method.
private
static
bool
IsCollection(IEnumerable obj)
{
return
obj !=
null
&& GetEnumerableGenericArgument(obj.GetType()) !=
null
&& obj
is
IList;
}
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0

Kishan
Top achievements
Rank 1
answered on 22 Aug 2018, 09:20 AM
Hey Martin,
I just checked it and it works!
Thank you so much for your help! :) :)
Thanks,
Kishan Sojitra