In Development
Last Updated: 08 Aug 2022 07:14 by ADMIN
Created by: Daniel
Comments: 1
Category: ListView
Type: Bug Report
0

Hi Team,

When I use a RadEntry or Entry in the RadListView, it is fine when rendering flat data. However, when the items are grouped, the app has a native WinUI unhandled exception (that needs a 2nd instance of VS2022 to catch).

The only way to stop it was to not use an entry-like control like a Label.

Here is code to reproduce it,  I've attached a runnable example

 

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:telerik="clr-namespace:Telerik.Maui.Controls;assembly=Telerik.Maui.Controls"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.Maui.Controls.Compatibility"
             xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.Maui.Controls.Compatibility"
             x:Class="EntryTests.MainPage">
    <Grid>
        <telerikDataControls:RadListView x:Name="rulesListView"
                                         ItemsSource="{Binding Clients}"
                                         VerticalScrollBarVisibility="Always">
            <telerikDataControls:RadListView.GroupDescriptors>
                <telerikListView:PropertyGroupDescriptor PropertyName="Username" />
            </telerikDataControls:RadListView.GroupDescriptors>
            <telerikDataControls:RadListView.ItemTemplate>
                <DataTemplate>
                    <telerikListView:ListViewTemplateCell>
                        <!-- WORKS -->
                        <!--<Label Text="{Binding Username}" FontSize="14"/>-->
                        <!-- HARD CRASH -->
                        <telerik:RadEntry Text="{Binding Username}" FontSize="14" />
                    </telerikListView:ListViewTemplateCell>
                </DataTemplate>
            </telerikDataControls:RadListView.ItemTemplate>
        </telerikDataControls:RadListView>
    </Grid>
</ContentPage>

 

Version Note: The repro app is using UI for MAUI v0.9.0 because it was tested by Lance McCarthy with both 0.8.0 and 0.9.0 (this 0.9.0 was built on May 11th).

In Development
Last Updated: 13 Jun 2022 07:52 by ADMIN
Created by: SturmA
Comments: 0
Category: UI for .NET MAUI
Type: Feature Request
0
Add DataForm for .NET MAUI component - it should provide validation and multiline text editor amongst the other editors.