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

TimePicker doesnt display times

1 Answer 58 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Xi
Top achievements
Rank 1
Xi asked on 25 Jun 2008, 05:06 PM
I have a TimePicker in my page, but when I press the select time button it displays a blank menu, although it is still possible to change the time
<telerik:RadTimePicker ID="StartTimePicker" runat="server" Width="150px" Skin="Vista" FocusedDate="2008-06-25"  
                    SelectedDate="2008-06-16"
                <TimePopupButton CssClass=""></TimePopupButton> 
                <TimeView Skin="Vista"><HeaderTemplate> 
                Time Picker 
                </HeaderTemplate> 
                <TimeTemplate> 
                <runat="server" href="#" onclick="return false"></a> 
                </TimeTemplate> 
                </TimeView> 
                <DateInput Width="" LabelCssClass="" InvalidStyleDuration="100" Skin="Vista"></DateInput> 
                <Calendar UseRowHeadersAsSelectors="True" UseColumnHeadersAsSelectors="True" Skin="Vista"></Calendar> 
                <DatePopupButton CssClass="" Visible="False"></DatePopupButton> 
                </Telerik:RadTimePicker> 

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 26 Jun 2008, 07:07 AM
Hi Xi,

The overridden TimeTemplate is the reason for the issue:

<TimeTemplate>  
                <runat="server" href="#" onclick="return false"></a>  
                </TimeTemplate>  

Please, see how to configure the TimeTemplate in the docs here as well as review the demo below:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Calendar/Examples/DateTimePicker/Templates/DefaultCS.aspx

I hope this helps!

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Calendar
Asked by
Xi
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or