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

DatePicker opening behind other controls

1 Answer 14 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.
Leonard
Top achievements
Rank 1
Leonard asked on 07 Nov 2012, 02:12 AM
Hi:
I'm new to Telerik controls.  Using the DataPicker control and finding that it opens behind the control following it, so I can't really select the date and ok button.  Example xaml:

<StackPanel Grid.Row="1" Orientation="Horizontal"  Margin="120,15,0,0" >
            <TextBlock Text="Week Ending:" Margin="0,5,0,5" VerticalAlignment="Top" Style="{StaticResource BodyTextStyle}" />
            <Input:RadDatePicker Margin="15,0,0,0" MaxWidth="200" Value="{Binding Path=WeekEnding,Mode=TwoWay}" />
            <Button Content="Get Report" VerticalAlignment="Top" Margin="15,0,15,0" Click="GetReportClicked" />              
        </StackPanel>                  
        <WebView  Grid.Row="2" MinHeight="100" Margin="120,15,15,15" x:Name="webreport" Height="560"/>

How to resolve and have picker date selectors above the WebView control?

1 Answer, 1 is accepted

Sort by
0
Accepted
Lancelot
Top achievements
Rank 1
answered on 07 Nov 2012, 06:37 PM
Hi Leonard,

The issue you are experiencing is due to the WebView control itself and not the RaddatePicker. It is a known Microsoft issue that unless you use WebViewBrush, the content of a WebView control will be above other elements in the visual tree.

This link will bring you to a demo of how to use WebViewBrush. Although the example uses the Charm bar as an example, the principle is the same. The WebView covers the charms when not using WebViewBrush.

Good luck,
Lancelot
Tags
DatePicker for XAML
Asked by
Leonard
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Share this question
or