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

DateTimePiker

2 Answers 98 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Wolfshund
Top achievements
Rank 2
Wolfshund asked on 07 Mar 2007, 07:56 AM
This may be simple task, but I can't feature out, how to add a DateTimePicker control to a r.a.d.ribbonbarchunk. Although the drawing cursor is displayed correctly, it actually draws nothing. If I create a r.a.d. ribbonbuttongroup on the chunk first, and then try to add the DateTimepicker to the buttongroup, the behavior is the same. Any ideas?
Thanks.

2 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 08 Mar 2007, 08:51 AM
Hello Joerg,

You can add any control to a RibbonBar chunk.

That can be done using RadHostItem:
 
DateTimePicker datePicker = new DateTimePicker();  
RadHostItem datePickerHost = new RadHostItem(datePicker);  
              
this.radRibbonBarChunk1.Items.Add(datePickerHost); 

You cannot use the designer to accomplish this task yet, but this will be available in a future release.

 
All the best,
Jordan
the telerik team
0
Wolfshund
Top achievements
Rank 2
answered on 26 Mar 2007, 01:42 AM
Hi Jordan,

got it work! Thank you for your help.

Joerg
Tags
RibbonBar
Asked by
Wolfshund
Top achievements
Rank 2
Answers by
Jordan
Telerik team
Wolfshund
Top achievements
Rank 2
Share this question
or