Hello Tony,
You need to set the following StringFormat in order to make the timespan visualize as expected:
Hope this helps.
Regards,
Nasko
Telerik
You need to set the following StringFormat in order to make the timespan visualize as expected:
<
telerik:RadTimeSpanPicker
x:Name
=
"Duration"
Value
=
"{Binding SelectedDuration, Mode=TwoWay}"
StringFormat
=
"d' Days and 'h' hours'"
TimeSpanWatermarkContent
=
"Select duration..."
>
<
telerik:RadTimeSpanPicker.TimeSpanComponents
>
<
telerik:DayTimeSpanComponent
/>
<
telerik:HourTimeSpanComponent
/>
<
telerik:MinuteTimeSpanComponent
/>
<
telerik:SecondTimeSpanComponent
/>
<
telerik:MillisecondTimeSpanComponent
/>
</
telerik:RadTimeSpanPicker.TimeSpanComponents
>
</
telerik:RadTimeSpanPicker
>
Hope this helps.
Regards,
Nasko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.