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

    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:

  2. Peter
    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,
    the Telerik team

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

  3. DevCraft banner
Back to Top