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

[Solved] RadDatePicker height c#

1 Answer 278 Views
DatePicker for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cathal
Top achievements
Rank 1
Cathal asked on 23 Sep 2012, 03:44 PM
Hi,

When I adjust the height of the datepicker it never updates the change greater than 36?

For instance i cant adjust the height to the desired 100.

Cathal.

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 27 Sep 2012, 08:38 AM
Hi Cathal,

Thank you for contacting us and for your question. Please accept my apologies for the delayed response.

The issue you describe is actually a bug in the Template of the control where the grid row that hosts the picker button is always sized to the desired height of the button.

I have fixed this problem and the fix will be available with the official version of the controls - expected soon.

As a workaround you may do the following:

1. Declare this namespace in the XAML:
xmlns:telerikInputPickers="using:Telerik.UI.Xaml.Controls.Input.DateTimePickers"

2. Add Implicit style for the DateTimePickerButton type:

<telerikInput:RadDatePicker HorizontalAlignment="Center" VerticalAlignment="Center">
    <telerikInput:RadDatePicker.Resources>
        <Style TargetType="telerikInputPickers:DateTimePickerButton">
            <Setter Property="Height" Value="96"/>
        </Style>
    </telerikInput:RadDatePicker.Resources>
</telerikInput:RadDatePicker>

I hope this information is useful. Thank you very much for bringing this issue to our attention - I have updated your Telerik Points for your time and valuable feedback. Let us know if you have any other question/problem with our tools.

Kind regards,
Georgi
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
DatePicker for XAML
Asked by
Cathal
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or