This question is locked. New answers and comments are not allowed.
Hello
I think this is a bug, when using RadScaleTransition and a ScrollVierwer on a page, when navigating to a new page and then when I return and tap anywhere on the page I get the following error:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.UIElement_HitTestPoint(UIElement element, Point ptHit)
at System.Windows.Media.VisualTreeHelper.FindElementsInHostCoordinates(Point intersectingPoint, UIElement subtree)
at System.Windows.UIElement.HitTest(Point point)
at System.Windows.Controls.ScrollViewer.OnManipulationStarted(ManipulationStartedEventArgs e)
at System.Windows.Controls.Control.OnManipulationStarted(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
This does not happen on other transition types, is it a bug in the Scrollviewer, RadScaleTransition or am I doing something wrong. Below sample xaml that reproduces the error.
/regards Ove
I think this is a bug, when using RadScaleTransition and a ScrollVierwer on a page, when navigating to a new page and then when I return and tap anywhere on the page I get the following error:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.UIElement_HitTestPoint(UIElement element, Point ptHit)
at System.Windows.Media.VisualTreeHelper.FindElementsInHostCoordinates(Point intersectingPoint, UIElement subtree)
at System.Windows.UIElement.HitTest(Point point)
at System.Windows.Controls.ScrollViewer.OnManipulationStarted(ManipulationStartedEventArgs e)
at System.Windows.Controls.Control.OnManipulationStarted(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
This does not happen on other transition types, is it a bug in the Scrollviewer, RadScaleTransition or am I doing something wrong. Below sample xaml that reproduces the error.
/regards Ove
<phone:PhoneApplicationPage x:Class="PhoneApp3.MainPage" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Primitives" xmlns:teleriklcontrols="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" xmlns:telerikCore="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Core" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" SupportedOrientations="Portrait" Orientation="Portrait" shell:SystemTray.IsVisible="True"> <telerikPrimitives:RadTransitionControl.Transition> <telerikPrimitives:RadScaleTransition/> </telerikPrimitives:RadTransitionControl.Transition> <!--LayoutRoot is the root grid where all page content is placed--> <Grid x:Name="LayoutRoot" Background="Blue"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!--TitlePanel contains the name of the application and page title--> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"> <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" /> <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0"/> </StackPanel> <ScrollViewer Grid.Row="1"> <StackPanel Orientation="Vertical"> <Button Content="Tap here to navigate to new page" Click="Button_Click"></Button> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="Merry Christmas"></TextBlock> <TextBlock Text="After returning to this page and tapping anywhere, an error occur" TextWrapping="Wrap"></TextBlock> <teleriklcontrols:RadDatePicker Margin="-12,0,0,0"> <teleriklcontrols:RadDatePicker.HeaderTemplate> <DataTemplate> <TextBlock Text="Date"></TextBlock> </DataTemplate> </teleriklcontrols:RadDatePicker.HeaderTemplate> </teleriklcontrols:RadDatePicker> <teleriklcontrols:RadNumericUpDown Margin="0,12,12,12" MaxValue="10000" Value="1" HorizontalContentAlignment="Right" Header="Number"> </teleriklcontrols:RadNumericUpDown> <teleriklcontrols:RadDatePicker Margin="-12,0,0,0"> <teleriklcontrols:RadDatePicker.HeaderTemplate> <DataTemplate> <TextBlock Text="date 2"></TextBlock> </DataTemplate> </teleriklcontrols:RadDatePicker.HeaderTemplate> </teleriklcontrols:RadDatePicker> <teleriklcontrols:RadNumericUpDown Margin="0,12,12,12" MaxValue="10000" Value="5" HorizontalContentAlignment="Right" Header="number"> </teleriklcontrols:RadNumericUpDown> <TextBlock Text="Prize"></TextBlock> <TextBox Text="100" Margin="-12,0,0,0" InputScope="Number"></TextBox> <TextBlock Text="Serial no"></TextBlock> <TextBox Text="{Binding SerialNo,Mode=TwoWay}" Margin="-12,0,0,0"></TextBox> <TextBlock Text="Model no"></TextBlock> <TextBox Text="{Binding ModelNr,Mode=TwoWay}" Margin="-12,0,0,0"></TextBox> <TextBlock Text="Note"></TextBlock> </StackPanel> </ScrollViewer> </Grid> </phone:PhoneApplicationPage>