This is a migrated thread and some comments may be shown as answers.
How to control the length of time values
2 Answers 13 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 21 Nov 2011, 10:41 PM
When the user clicks the time ddl on the DateTimePicker  the entire list of time values is displayed without any scrollbars. How do I avoid this? See attached screenshot.

@(Html.Telerik().DateTimePicker()
    .Name("AddUserStartDate")
    .HtmlAttributes(new { id = "DateTimePicker_wrapper" })
    .Value(DateTime.Now)
    .Effects(fx =>
    {
        fx.Slide();
        fx.Opacity();
        fx.OpenDuration(200).CloseDuration(200);
    })
)

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 22 Nov 2011, 02:51 PM
Hello David,

Thanks for reporting the problem, we will look into it. At first glance the Opacity() settings is the cause. You can use the following workaround:

.t-time-popup
{
    overflow:auto;
}


Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
David
Top achievements
Rank 1
answered on 23 Nov 2011, 12:19 AM
Thank you.  After further testing I discovered this issue was a FireFox issue (worked fine in IE).  Changing to the following fixed the problem in FireFox.

@(Html.Telerik().DateTimePicker()
    .Name("AddUserStartDate")
    .Value(DateTime.Now)
)
Tags
Date/Time Pickers
Asked by
David
Top achievements
Rank 1
Answers by
Dimo
Telerik team
David
Top achievements
Rank 1
Share this question
or