Hello,
I migrated my app from 2016.1 to 2016.2 and when I check my app, that properly work, I can see only 1 item in listview, that is inside ContentDialog. In last version was all OK. Can you repair this?
Best Regards
Miroslav Mareš
6 Answers, 1 is accepted
Could you please send me a sample project which reproduces this behavior? Thus I will be able to further investigate.
I am looking forward to your reply.
Regards,
Ivaylo Gergov
Telerik

Hello,
here is xaml code:
<ContentDialog
x:Class="TwiceM.UWP.VehicleManager.ViewDialog.ServiceOperationDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TwiceM.UWP.VehicleManager.ViewDialog"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerikPrimitives="using:Telerik.UI.Xaml.Controls.Primitives"
xmlns:telerikDataCore="using:Telerik.Data.Core"
xmlns:telerikDataControls="using:Telerik.UI.Xaml.Controls.Data"
xmlns:telerikListView="using:Telerik.UI.Xaml.Controls.Data.ListView"
xmlns:telerikListViewCommands="using:Telerik.UI.Xaml.Controls.Data.ListView.Commands"
mc:Ignorable="d"
DataContext="{Binding Path=ServiceOperations, Source={StaticResource Locator}}"
Title="Service operations"
PrimaryButtonText="Save"
SecondaryButtonText="Cancel"
PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
SecondaryButtonClick="ContentDialog_SecondaryButtonClick">
<Grid Margin="24">
<telerikPrimitives:RadBusyIndicator AnimationStyle="AnimationStyle1"
Grid.Row="0"
IsActive="{Binding IsDataLoading}"
Content="Loading..."
Canvas.ZIndex="100"/>
<telerikDataControls:RadListView x:Name="telerikListServiceOperations"
EmptyContentDisplayMode="DataSourceEmpty"
EmptyContent="No data."
IsActionOnSwipeEnabled="False"
SelectionMode="Multiple"
ItemsSource="{Binding Items}" MinHeight="200">
<telerikDataControls:RadListView.ItemStyle>
<Style TargetType="telerikListView:RadListViewItem">
<Setter Property="Padding" Value="0"/>
<Setter Property="Margin" Value="0"/>
</Style>
</telerikDataControls:RadListView.ItemStyle>
<telerikDataControls:RadListView.ItemTemplate>
<DataTemplate>
<Grid Margin="12">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0"
Text="{Binding Name}"/>
<TextBlock Grid.Row="1"
FontSize="10"
TextWrapping="Wrap"
Text="{Binding Description}"/>
</Grid>
</DataTemplate>
</telerikDataControls:RadListView.ItemTemplate>
<telerikDataControls:RadListView.Commands>
<!--<telerikListViewCommands:ListViewUserCommand Id="ItemTap" Command="{Binding EditServiceOperationsCommand}" EnableDefaultCommand="False"/>-->
</telerikDataControls:RadListView.Commands>
</telerikDataControls:RadListView>
</Grid>
</ContentDialog>
Best Regards
Miroslav Mareš
I was able to reproduce this issue and I will further investigate it.
I will contact you as soon as I have more information regarding fix or workaround.
Regards,
Ivaylo Gergov
Telerik
We have logged this issue in our bug tracking system and we will try to address it for some of our next releases. For now, the only workaround would be to set fixed size of the RadListView.
Thank you for your valuable feedback. I have updated your Telerik points.
Regards,
Ivaylo Gergov
Telerik

Hello,
I installed the last update, but this issue is not fixed? Or only partially? In desktop version (x86) I see same result as before. But in mobile version (ARM) I can see all items, but I cannot scroll last item into view. Please when you fix this bug?
Best Regards
Miroslav Mareš
Unfortunately, this bug is not yet fixed. It seems that the fix is not so trivial and we will further evaluate it.
Please, let me know should you have any other questions.
Regards,
Ivaylo Gergov
Telerik by Progress