This is a migrated thread and some comments may be shown as answers.

Allow user to edit fields in TimeSpanPicker

1 Answer 134 Views
TimeSpanPicker
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 12 Jan 2016, 02:17 PM

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?

 

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 14 Jan 2016, 12:18 PM
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
Tags
TimeSpanPicker
Asked by
David
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or