RadDropDownListElement & DateTimePicker

3 posts, 1 answers
  1. Deasun
    Deasun avatar
    33 posts
    Member since:
    May 2019

    Posted 17 Jul 2019 Link to this post

    Not sure if in correct place for this one.

    I have a winform radribbonbarbuttongroup that I would like to put a date picker in for the user to pick a date.

    How do I add this in? Does not appear on the Add A Item drop down list in the Dev UI.

     

    Thanks

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3957 posts

    Posted 18 Jul 2019 Link to this post

    Hello, Deasun,  

    In order to achieve your goal, it is necessary to add a RadDateTimePickerElement to the RadRibbonBarButtonGroup.Items collection:

    public RadForm1()
    {
        InitializeComponent();
     
        RadDateTimePickerElement dtPicker = new RadDateTimePickerElement();
        dtPicker.MinSize = new System.Drawing.Size(200, 20);
        dtPicker.Value = DateTime.Now;
        this.radRibbonBarButtonGroup1.Items.Add(dtPicker);
    }



    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Deasun
    Deasun avatar
    33 posts
    Member since:
    May 2019

    Posted 19 Jul 2019 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Thanks
Back to Top