DateTimePiker

3 posts, 0 answers
  1. Wolfshund
    Wolfshund avatar
    50 posts
    Member since:
    Feb 2007

    Posted 07 Mar 2007 Link to this post

    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. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 08 Mar 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Wolfshund
    Wolfshund avatar
    50 posts
    Member since:
    Feb 2007

    Posted 25 Mar 2007 Link to this post

    Hi Jordan,

    got it work! Thank you for your help.

    Joerg
Back to Top