Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TimePicker > Time granularity

Not answered Time granularity

Feed from this thread
  • Ferenc Gál avatar

    Posted on Jun 14, 2010 (permalink)

    Hi,

    I use a RadTimePicker as a CellEditTemplate in a RadGridView with binding a DataTable.
    I managed to bind the data to the TimePicker and it displays correctly (e.g. 12:23:59), but I can change its value only to timestamps in hour (e.g. 12:00:00). How can I change its value to such a date as 23:34:56?

    Thanks in advance!

    Feri

    Reply

  • Kaloyan Kaloyan admin's avatar

    Posted on Jun 16, 2010 (permalink)

    Hi Ferenc Gál,

    The value types that are using by the RadTimePicker are of TimeSpan as you have already noticed. In terms of getting a 23:34 TimeSpan as a result from 12:23, you have to add value equals to 11.11.

    Regards,
    Kaloyan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Ferenc Gál avatar

    Posted on Jun 16, 2010 (permalink)

    Hi Kaloyan,

    I think I was not clear.
    My problem is the following:
    I have the datepicker in the grid cell. I click on the clock at the right side. A grid containing time values (only hours, e. g. 12:00, 13:00) is drop down. I can choose any of them and the textbox of datepicker is filled with that timestamp (e.g. 12:00, 13:00). But I do not want to pick only whole-hour-timestamps from the grid, I also would like to pick other timestamps, like 12:56, 14:02 etc.

    My question is: Is there any setting to achieve such a functionality?

    Br,
    Feri

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jun 21, 2010 (permalink)

    Hi Ferenc Gál,

    Thank you for your clarification.

    You can populate the TimePicker's items as shown in this online demo.

    If you need further assistance please let us know.

    Greetings,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TimePicker > Time granularity
Related resources for "Time granularity"

WPF TimePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]