Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Setting initial value of TimePicker

$
0
0

You reference is setting a timepicker from a string.. I don't want to store times as strings.

I note from the docs that this method is a TimeSpan

Methods
Value(System.Nullable<System.TimeSpan>)

Sets the value of the timepicker input 

 

I am storing the times as 'minutes since midnight'

Hence I have setting 

.Value(NewTimeSpan(0,600, 0))

compared to the example you linked to which is

.Value("10:00 AM")

Thanks

Rob

 


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>