I have a Windows Phone 7 Silverlight application that has a listbox and within the item template it binds another listbox.
<ListBox x:Name="CouponsGrouping">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<TextBlock Text="Expires" />
<ListBox ItemsSource="{Binding Coupons}" Margin="0,10,0,0">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<HyperlinkButton Content="{Binding StoreName}" HorizontalAlignment="Left"/>
<TextBlock Text="{Binding CouponText}" Style="{StaticResource PhoneTextNormalStyle}" />
<TextBlock Text="{Binding CouponType}" Style="{StaticResource PhoneTextNormalStyle}" />
<Button Content="Press me" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
When I try to scroll (click and drag) the list from within the inner listbox the parent listbox doesn't scroll. If I scroll by clicking on the "Expires" texbox it scrolls fine. How can I make it so that when I scroll the inner listbox the parent listbox scrolls instead.
Thanks, in advanced.