Completed
Last Updated: 17 Sep 2018 09:53 by Dimitar
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 12 Sep 2018 05:44
Category: Editors
Type: Bug Report
1
FIX. RadDateTimePicker - incorrect style for the drop down when the ThemeName is set and then RadDateTimePickerCalendarShowTimePicker is enabled
To reproduce: set the ThemeName property before setting the RadDateTimePickerCalendarShowTimePicker property to true.
    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
    End Sub

Workaround:

    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
    End Sub
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments