This is a migrated thread and some comments may be shown as answers.

R1 2019 Breaks ListView w/GroupDescriptors

3 Answers 78 Views
ListView
This is a migrated thread and some comments may be shown as answers.
IanV
Top achievements
Rank 1
Veteran
IanV asked on 16 Jan 2019, 11:05 PM

When I upgrade from R3 2018 to R1 2019, ListViews with <telerikDataControls:RadListView.GroupDescriptors> will not render any content. Removing <telerikDataControls:RadListView.GroupDescriptors> results in the ListView rendering, but without any GroupHeaders.

Here's the full ListView that fails. To make it work, remove the GroupDescriptors tag.

 

<telerikDataControls:RadListView
                x:Name="list"
                GroupHeaderTemplate="{StaticResource ListViewGroupHeaderTemplate}"
                IsVisible="{Binding IsLoadingHotlist, Converter={StaticResource NegateBooleanConverter}}"
                ItemsSource="{Binding ItemsHotlist}"
                BackgroundColor="White"
                IsPullToRefreshActive="{Binding IsBusyHotlist}"
                IsPullToRefreshEnabled="True"
                SelectionMode="Single">
 
 
    <!-- GROUP BY -->
    <telerikDataControls:RadListView.GroupDescriptors>
        <!-- TRICK I use a HotListGroupHeaderConverter to change the Date here to a nice pretty print -->
        <telerikListView:PropertyGroupDescriptor PropertyName="GroupBySort"  SortOrder="Ascending" />
    </telerikDataControls:RadListView.GroupDescriptors>
 
 
    <!-- COMMANDS -->
    <!-- COMMANDS -->
    <!-- COMMANDS -->
 
    <telerikDataControls:RadListView.Commands>
        <commands:ListViewUserCommand Id="PullToRefreshRequested" Command="{Binding RefreshHotlistCommand}" />
        <commands:ListViewUserCommand Id="ItemTap" Command="{Binding HotlistTapCommand}" />
    </telerikDataControls:RadListView.Commands>
 
 
    <!-- TEMPLATE CELLS -->
    <!-- TEMPLATE CELLS -->
    <!-- TEMPLATE CELLS -->
 
    <telerikDataControls:RadListView.ItemTemplateSelector>
        <vm:HotlistItemSelector
                        AppointmentTemplate="{StaticResource AppointmentCellTemplate}"
                        TaskTemplate="{StaticResource TaskCellTemplate}"
                        ErrorTemplate="{StaticResource ErrorCellTemplate}"/>
    </telerikDataControls:RadListView.ItemTemplateSelector>
 
 
</telerikDataControls:RadListView>

3 Answers, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 18 Jan 2019, 08:51 AM
Hi Ian,

Thank you for the provided code.

I have tested the described scenario with the latest version of Telerik UI for Xamarin (v2019.1.116.1) and I could not reproduce the issue with the RadListView control. May I ask you to modify the attached sample regarding your setup and send it back to me? Once we are able to reproduce the behavior we will be able to investigate it further and provide more information on the matter.

Please note that you should open a support ticked and attach the project there because in the forum only image attachments are allowed. 

Looking forward to your reply.

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 17 Feb 2019, 08:45 AM

You can check my following ticket that contains the error source

https://www.telerik.com/account/support-tickets/view-ticket/1388405

0
Didi
Telerik team
answered on 18 Feb 2019, 09:51 AM
Hello Du,

Please find this ticket answered in the support ticket with id: 1388405.

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
IanV
Top achievements
Rank 1
Veteran
Answers by
Didi
Telerik team
David
Top achievements
Rank 1
Share this question
or