Allow user to edit fields in TimeSpanPicker

2 posts, 0 answers
  1. David
    David avatar
    27 posts
    Member since:
    Apr 2013

    Posted 12 Jan Link to this post

    I would like the user to be able to edit the text in the TimeSpanPicker or pick the values from the drop down. Is this supported?

     

  2. Polya
    Admin
    Polya avatar
    200 posts

    Posted 14 Jan Link to this post

    Hi David,

    With the current implementation of RadTimeSpanPicker editing the value from the input part is not available.
    The editing of the TimeSpan value is done by picking specific values from the drop down of the control.
    We've implemented 5 default components which you can use in your RadTimeSpanPicker: DayTimeSpanComponent, HourTimeSpanComponent, MinuteTimeSpanComponent, SecondTimeSpanComponent and MillisecondTimeSpanComponent. Depending on which parts of the TimeSpan you wish to allow the users to pick you can easily configure your RadTimeSpanPicker using one or more of our predefined components.
    For example, if you wish to allow picking of days and hours you can use the following definition for your RadTimeSpanPicker:
    <telerik:RadTimeSpanPicker>
        <telerik:RadTimeSpanPicker.TimeSpanComponents>
            <telerik:DayTimeSpanComponent />
            <telerik:HourTimeSpanComponent Minimum="2" Maximum="24" Step="2" />
        </telerik:RadTimeSpanPicker.TimeSpanComponents>
    </telerik:RadTimeSpanPicker>

    If the default components are not suitable for your scenario, you can create custom components to match your needs. For more information on how to achieve this I suggest taking a look at our documentation.

    Hope this helps. Should you have any questions or concerns please feel free to contact us again.

    Regards,
    Polya
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top