This question is locked. New answers and comments are not allowed.
Hi,
I have put a RadJumpList in a grid with RowDefinitions, with a textbox above it. As soon as this is done, I cannot scroll with the JumpList anymore. If I take our the RowDefinitions the scrolling works. Am I doing something wrong here? Below is a sample...like I said, just take out the
And you will be able to scroll.
XAML :
Codebehind:
Thanks very much
Regards,
Mauro
I have put a RadJumpList in a grid with RowDefinitions, with a textbox above it. As soon as this is done, I cannot scroll with the JumpList anymore. If I take our the RowDefinitions the scrolling works. Am I doing something wrong here? Below is a sample...like I said, just take out the
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
And you will be able to scroll.
XAML :
<
phone:PhoneApplicationPage
x:Class
=
"RadControlsWindowsPhoneApp2.MainPage"
xmlns:Data
=
"clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
xmlns:phone
=
"clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell
=
"clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:telerikCore
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Core"
xmlns:telerikData
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Data"
xmlns:telerikPrimitives
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Primitives"
d:DesignHeight
=
"768"
d:DesignWidth
=
"480"
FontFamily
=
"{StaticResource PhoneFontFamilyNormal}"
FontSize
=
"{StaticResource PhoneFontSizeNormal}"
Foreground
=
"{StaticResource PhoneForegroundBrush}"
Orientation
=
"Portrait"
shell:SystemTray.IsVisible
=
"True"
SupportedOrientations
=
"Portrait"
mc:Ignorable
=
"d"
>
<!-- 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
x:Name
=
"ApplicationTitle"
Style
=
"{StaticResource PhoneTextNormalStyle}"
Text
=
"MY APPLICATION"
/>
<
TextBlock
x:Name
=
"PageTitle"
Margin
=
"9,-7,0,0"
Style
=
"{StaticResource PhoneTextTitle1Style}"
Text
=
"page name"
/>
</
StackPanel
>
<!-- ContentPanel - place additional content here -->
<
Grid
x:Name
=
"ContentPanel"
Grid.Row
=
"1"
Margin
=
"12,0,12,0"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Row
=
"0"
Text
=
"Test"
/>
<
telerikData:RadJumpList
x:Name
=
"TestJumpList"
Grid.Row
=
"1"
x:FieldModifier
=
"private"
/>
</
Grid
>
</
Grid
>
<!-- Sample code showing usage of ApplicationBar -->
</
phone:PhoneApplicationPage
>
Codebehind:
using
System.Collections.Generic;
using
Microsoft.Phone.Controls;
namespace
RadControlsWindowsPhoneApp2
{
public
partial
class
MainPage : PhoneApplicationPage
{
// Constructor
public
MainPage()
{
InitializeComponent();
IList<
int
> numbers=
new
List<
int
>();
for
(
int
i = 0; i < 100; i++)
{
numbers.Add(i);
}
TestJumpList.ItemsSource = numbers;
}
}
}
Thanks very much
Regards,
Mauro