Unable to add Items to RadCommandBar

2 Answers 118 Views
CommandBar
John
Top achievements
Rank 1
Iron
John asked on 17 Nov 2021, 06:53 AM | edited on 17 Nov 2021, 07:01 AM

I am testing Telerik controls for a project under VS2022 and WinForms .NET Core 6.

There does not seem to be a way to add items to the bar, or am I missing something? Shouldn't there be a button to add Items as in the sample documentation videos/screenshot? 

 

 

this is what I was expecting looking up Telerik documentation:

 

2 Answers, 1 is accepted

Sort by
1
Hristo
Telerik team
answered on 17 Nov 2021, 11:21 AM

Hello John,

The command bar designer in .NET Core does not support custom selection glyphs. That's why it's not possible to select the row elements and to invoke the drop-down with the buttons. Yet, it is possible to add items to the control and have a fully functional designer.

In order to achieve this, it's necessary to work with the collection editors. You can invoke them straight from the action list. For example, you can click Edit Rows, then select the row you want and find the Strips collection in the property grid. Then inside the Strips collection editor, you can work with the Items collection of the strip and add elements to it. I am attaching a short gif file demonstrating the above scenario as well as my test project.

I admit that working with collection editors nested in each other is not ideal and it is a long way to achieve something relatively simple, moreover that it was working in the old .NET Framework designer. The new .NET Core designer has a completely different architecture, compared to the old one, you can read more about it the following blog: Telerik UI for WinForms Designers for .NET Core and .NET 5.0. We've managed to achieve parity between the new and old designer in many areas, however, custom selection glyphs and inline editing are still missing. That's why I am logging on your behalf the following request on our feedback portal: RadControl: Make the new .NET designer more interactive. I have also updated your Telerik points. We understand that this feature is really important and it will improve the entire design-time experience, so it is definitely on our radar. Until then I hope that invoking the collection editors would be an option.

I hope this will help. Let me know if you have to other questions.

Regards,
Hristo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
John
Top achievements
Rank 1
Iron
answered on 17 Nov 2021, 08:38 AM | edited on 17 Nov 2021, 08:40 AM
I answered my own question: this is not how CommadBar works anymore, Telerik simply didn't update the tutorial video nor mentioned this in the "Getting Started" section for the CommandBar. This makes me wonder if Telerik plans to maintain and expand the .NET Core version of WinForms long term.
Tags
CommandBar
Asked by
John
Top achievements
Rank 1
Iron
Answers by
Hristo
Telerik team
John
Top achievements
Rank 1
Iron
Share this question
or