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

Bug in calendar positioning

2 Answers 30 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
B Jones
Top achievements
Rank 1
B Jones asked on 04 Oct 2011, 01:48 AM
The attached image shows the calender position for both LTR and RTL. The only difference is the FlowDirection on the UserControl that is hosting the RadDatePicker.

When using RTL layout, the popup Calendar is positioned incorrectly - off the page in my case. I tried to set the Popup.HorizontalOffset by overriding the style but that had no effect. 

The attached image shows the calender position for both LTR and RTL. The only difference is the FlowDirection on the UserControl that is hosting the RadDatePicker.
<UserControl xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="SilverlightApplication7.MainPage"
    xmlns:local="clr-namespace:SilverlightApplication7"
    mc:Ignorable="d"
    d:DesignHeight="594" d:DesignWidth="967">
 
    <Grid x:Name="LayoutRoot" Background="#FF09E209" FlowDirection="RightToLeft">
        <StackPanel Orientation="Vertical">
            <telerik:RadDatePicker Width="300" />
        </StackPanel>
    </Grid>
</UserControl>


My demo project was a VS2010 SP1 project w/ Silverlight 4. Using Telerik v2011.1.411.1040 dll's but I also tried 2011.2.920.1040.

Is there a way to resolve this for both LTR and RTL?

2 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 05 Oct 2011, 02:18 PM
Hi Brett,

Thank you for pointing out this issue. It turns out this is a bug with the telerik Popup control. We have logged it in our PITS. You can vote for it and track its progress here.

We are sorry for the inconvenience this issue may have caused in your scenario.

Kind regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
mittal
Top achievements
Rank 1
answered on 13 Sep 2012, 09:06 AM
Hi
I am also facing the same issue while doing the RTL in Arabic culture all controls, the dropdown control for selecting the date and time from RadDateTimePicker in Silverlight shows anywhere in the whole screen, It should be beneth the DatePickerText Control.
Is there a way to resolve this RTL DateTimePicker  in silverlight open popup beneth the control itself?
Please Help me if anyone has idea for that.


Tags
DatePicker
Asked by
B Jones
Top achievements
Rank 1
Answers by
Dani
Telerik team
mittal
Top achievements
Rank 1
Share this question
or