Good day,
we are having some problems while trying to assign a string time value to a radtimepicker.
Page logic is as follows:
We have a formview with a bound control. That control is displaying a string with the value of a previous radtimepicker user inserted value.
We need to clientside assign the string value of the bound control to a radtimepicker in the current page.
We've read the api at
http://www.telerik.com/help/aspnet-ajax/calendar-client-side-basics.html
and there the only method seems to be set_selectedDate as a method to update the target field.
The problem is that set_selectedDate accepts only a date type, while our source type is a string.
We don't want to implement culture support for conversion from time string to time date, so we need to know:
1- is there an alternative client side method for setting the time in a radtimepicker, that uses a string parameter
2- is there an 'universal' datetime format that we can Date.Parse out time string ("08:30") so that the radtimepicker will accept it without culture and timezone problems?
Thanks in advance
we are having some problems while trying to assign a string time value to a radtimepicker.
Page logic is as follows:
We have a formview with a bound control. That control is displaying a string with the value of a previous radtimepicker user inserted value.
We need to clientside assign the string value of the bound control to a radtimepicker in the current page.
We've read the api at
http://www.telerik.com/help/aspnet-ajax/calendar-client-side-basics.html
and there the only method seems to be set_selectedDate as a method to update the target field.
The problem is that set_selectedDate accepts only a date type, while our source type is a string.
We don't want to implement culture support for conversion from time string to time date, so we need to know:
1- is there an alternative client side method for setting the time in a radtimepicker, that uses a string parameter
2- is there an 'universal' datetime format that we can Date.Parse out time string ("08:30") so that the radtimepicker will accept it without culture and timezone problems?
Thanks in advance