Read Value from DateTimePicker in CommandBar

2 posts, 0 answers
  1. Nikita
    Nikita avatar
    21 posts
    Member since:
    Jun 2011

    Posted 20 Jan 2012 Link to this post

    Hi,
    I would like to read Value from
    DateTimePicker that is in CommandBarHostItem in CommandBar.
    How can it be done?

    I put it in successfully CommandBar like in post:
    http://www.telerik.com/community/forums/winforms/commandbar/add-a-datetimepicker-to-a-commandbar.aspx#1952183

    Thanks
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 25 Jan 2012 Link to this post

    Hi Nikita,

    You can get the value by accessing RadDateTimePicker.Value property:

    DateTime value = radDateTimePicker.Value;

    If you have further questions, do not hesitate to contact us.

    All the best,
    Peter
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top