This is a migrated thread and some comments may be shown as answers.

931025 - problem with RadCommandBar

1 Answer 46 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hamid
Top achievements
Rank 1
Hamid asked on 15 Jan 2015, 12:24 PM
hi

in C# when i drop a RadCommandBar control to a form, two other controls
are also added with types CommandBarRowElement and
CommandBarStripElement. but there's a problem. i can't set Text property
of them. In another words, when i'm in design mode and enter some text
in Text property, the value is reset to empty. why is that and how can i
resolve it?

thx

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 16 Jan 2015, 11:05 AM
Hello Hamid,

Thank you for writing.

CommandBarRowEle ment and CommandBarStripElement are not intended to hold text, this is why it is not allowed to set it at design time (although you can achieve it if you set it at with code). You need to add the desired items to the strip element and work with their text. For example you can add CommandBarLabel to the strip and set its text.

More information about the supported elements is available here; http://www.telerik.com/help/winforms/commandbar-item-types.html.

I hope that you find this information useful.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussion
Asked by
Hamid
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or