This question is locked. New answers and comments are not allowed.
JDBPocketware
Top achievements
Rank 2
JDBPocketware
asked on 22 May 2014, 09:58 PM
When starting to scroll over the + or - button, the value changes. It should not change if user is scrolling.
Is there a way to prevent this? Will it be fixed?
Is there a way to prevent this? Will it be fixed?
3 Answers, 1 is accepted
0
Hi Jandieg,
Thanks for writing.
Could you please explain the scenario with some more details? If you can share some XAML code or a sample project that reproduces it , we will be able to directly take a look at it and see how to help you out.
Regards,
Deyan
Telerik
Thanks for writing.
Could you please explain the scenario with some more details? If you can share some XAML code or a sample project that reproduces it , we will be able to directly take a look at it and see how to help you out.
Regards,
Deyan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
AstaDev
Top achievements
Rank 1
answered on 24 Jul 2014, 10:07 AM
I've noticed this, but I'm not sure if it's a fundamental issue with Windows Phone. In my case I need to show a longlistselector with items inside it. Each row needs a way of the user entering in a percentage value. If I place a numeric up/down control as a template of the list, every time I go to scroll the list, as my finger hits the + button of one of the controls, it increments it. This shouldn't happen as scrolling needs to be treated differently than a click on the button. You get the same behaviour with a standard slider control though so I'm hoping there is a general way of getting around this.
For example
<phone:PhoneApplicationPage
x:Class="PhoneApp9.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c4f="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
xmlns:gauges="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True">
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
<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 Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
<TextBlock Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<phone:LongListSelector x:Name="longListSelectorState" HorizontalAlignment="Left" Height="499" Margin="30,51,0,0" VerticalAlignment="Top" Width="376">
<phone:LongListSelector.ItemTemplate>
<DataTemplate>
<telerikInput:RadNumericUpDown Change="5" MaxValue="100" x:Name="radNumericUpDown" />
</DataTemplate>
</phone:LongListSelector.ItemTemplate>
</phone:LongListSelector>
</Grid>
</Grid>
</phone:PhoneApplicationPage>
For example
<phone:PhoneApplicationPage
x:Class="PhoneApp9.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c4f="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
xmlns:gauges="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True">
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
<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 Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
<TextBlock Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<phone:LongListSelector x:Name="longListSelectorState" HorizontalAlignment="Left" Height="499" Margin="30,51,0,0" VerticalAlignment="Top" Width="376">
<phone:LongListSelector.ItemTemplate>
<DataTemplate>
<telerikInput:RadNumericUpDown Change="5" MaxValue="100" x:Name="radNumericUpDown" />
</DataTemplate>
</phone:LongListSelector.ItemTemplate>
</phone:LongListSelector>
</Grid>
</Grid>
</phone:PhoneApplicationPage>
0
Hi,
Indeed this is a valid scenario but unfortunately I cannot recommend a possible workaround. However we will consider your feedback and we will improve the current logic in the future releases.
Thank you for the valuable feedback. I have updated your Telerik points.
Regards,
Ivaylo Gergov
Telerik
Indeed this is a valid scenario but unfortunately I cannot recommend a possible workaround. However we will consider your feedback and we will improve the current logic in the future releases.
Thank you for the valuable feedback. I have updated your Telerik points.
Regards,
Ivaylo Gergov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.