Declined
Last Updated: 08 Oct 2021 07:57 by ADMIN

I want to use a sticky header listview. 
I using the following code to render the sticky header list.

XML page code:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage 
    xmlns="http://xamarin.com/schemas/2014/forms"
     xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
     x:Class="TEST.Views.AboutPage"
     xmlns:vm="clr-namespace:TEST.ViewModels"

     xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
     xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"

     Title="{Binding Title}"
>

    <ContentPage.BindingContext>
        <vm:AboutViewModel />
    </ContentPage.BindingContext>

    <ContentPage.Resources>
        <ResourceDictionary>
            <Color x:Key="Accent">#96d1ff</Color>
        </ResourceDictionary>
        <DataTemplate x:Key="ListViewItemTemplate">
            <telerikListView:ListViewTemplateCell>
                <telerikListView:ListViewTemplateCell.View>
                    <Grid Padding="16, 0, 0, 0" BackgroundColor="#F1F2F5" HeightRequest="100">
                        <Label Text="{Binding Name}" TextColor="#6F6F70" FontSize="Small" />
                    </Grid>
                </telerikListView:ListViewTemplateCell.View>
            </telerikListView:ListViewTemplateCell>
        </DataTemplate>
        <DataTemplate x:Key="ListViewGroupHeaderTemplate">
            <Grid HeightRequest="40">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>                
                <Label Margin="0, 12, 0, 6" Text="{Binding }" Grid.Column="1" TextColor="DarkGray" FontSize="Medium" HorizontalOptions="Start" />
            </Grid>
        </DataTemplate>
        <telerikListView:ListViewGroupStyle x:Key="ListViewGroupHeaderStyle" BackgroundColor="White" />
    </ContentPage.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>       
            <telerikDataControls:RadListView
                x:Name="listView"
                ItemsSource="{Binding Cities}"
                ItemTemplate="{StaticResource ListViewItemTemplate}"
                GroupHeaderTemplate="{StaticResource ListViewGroupHeaderTemplate}"
                GroupHeaderStyle="{StaticResource ListViewGroupHeaderStyle}"
                IsGroupHeaderSticky="True"
                Grid.Row="0"
            >
                <telerikDataControls:RadListView.GroupDescriptors>
                    <telerikListView:PropertyGroupDescriptor PropertyName="Country"/>
                </telerikDataControls:RadListView.GroupDescriptors>

                <telerikDataControls:RadListView.LayoutDefinition>
                    <telerikListView:ListViewGridLayout HorizontalItemSpacing="5"
                                                        ItemLength="120"
                                                        SpanCount="2"
                                                        VerticalItemSpacing="5" />
                </telerikDataControls:RadListView.LayoutDefinition>
            </telerikDataControls:RadListView>
    </Grid>

</ContentPage>

 

 

ViewModels:

public class City
    {
        public string Name { get; set; }
        public string Country { get; set; }
    }

    public class ViewModel
    {
        public ObservableCollection<City> Cities { get; set; }

        public ViewModel()
        {
            this.Cities = new ObservableCollection<City>()
            {
                new City() { Name = "Barcelona", Country = "Spain"},
                new City() { Name = "Madrid", Country = "Spain"},
                new City() { Name = "Barcelona", Country = "Spain"},
                new City() { Name = "Madrid", Country = "Spain"},
                new City() { Name = "Rome", Country = "Italy"},
                new City() { Name = "Florence", Country = "Italy"},
                new City() { Name = "Florence", Country = "Italy"},
                new City() { Name = "London", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "Boston", Country = "USA"}
             };
        }
    }



I added screenshots here which until header "Italy" works correctly, but later  "Spain" & "USA" header are not sticking as we scroll up.             
Declined
Last Updated: 31 Aug 2021 13:12 by Tom

When using a RadListview with a Grid or a Stack Layout in iOS I get the following exception. I haven't tested using the stacklayout outside of the RadListView nor have I tested it outside of the ItemTemplateSelector


Telerik.XamarinForms.Common.NotRegisteredRendererException: There is no renderer registered for the specified type: Xamarin.Forms.Grid
It works fine on Android. Below is the xaml I'm using.


<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:models="clr-namespace:AlertTest.Models"
             mc:Ignorable="d"
             xmlns:views="clr-namespace:AlertTest.Views"
             x:Class="AlertTest.Views.MainPage">
    <ContentPage.Resources>
        <ResourceDictionary>
            <DataTemplate x:Key="NonDivisibleTemplate">
                <Grid>
                    <StackLayout Orientation="Vertical" Padding="10" Spacing="0" BackgroundColor="Yellow" InputTransparent="True" Unfocused="StackLayout_Unfocused">
                        <Label Text="{Binding ItemText}"/>
                    </StackLayout>
            </DataTemplate>
            <DataTemplate x:Key="DivisibleTemplate">
                <Grid>
                    <StackLayout Orientation="Vertical" Padding="15" Spacing="0" BackgroundColor="White" Unfocused="StackLayout_Unfocused">
                        <Label Text="{Binding ItemText}" FontSize="Large" HorizontalTextAlignment="Center"/>
                        <Label Text="{Binding ItemText}" FontSize="Small" FontAttributes="Italic" TextColor="Gray"/>
                    </StackLayout>
                </Grid>
            </DataTemplate>

            <models:MyDataTemplateSelector
                x:Key="MyTemplateSelector"
                NonDivisibleTemplate="{StaticResource NonDivisibleTemplate}"
                DivisibleTemplate="{StaticResource DivisibleTemplate}" />
        </ResourceDictionary>
    </ContentPage.Resources>

    <StackLayout VerticalOptions="StartAndExpand">
        <!-- Place new controls here -->
        <views:FloatingLabelEntry EntryText="{Binding EntryText}" Margin="20" BackgroundColor="Yellow" PlaceholderText="{Binding PlaceholderText}"/>
        <Entry TextChanged="Entry_TextChanged" BackgroundColor="AliceBlue" Margin="20"/>
        <telerikDataControls:RadListView x:Name="listView" ItemsSource="{Binding ListItems}" ItemTemplateSelector="{StaticResource MyTemplateSelector}" SelectionMode="Single" IsItemSwipeEnabled="False" >
            <!--<telerikDataControls:RadListView.ItemSwipeContentTemplate>
                <DataTemplate>
                    -->
            <!--<Grid Margin="0"
                  Padding="0"
                  ColumnSpacing="0"
                  RowSpacing="0">-->
            <!--<Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>-->
            <!--
                    <StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand">
                        <Label BackgroundColor="#2474d2"
                       HorizontalTextAlignment="Start"
                               HorizontalOptions="StartAndExpand"
                       Text="Mark as read"
                       TextColor="White"
                       VerticalTextAlignment="Center" />
                        <Label Grid.Column="2"
                       BackgroundColor="Red"
                       HorizontalTextAlignment="End"
                               HorizontalOptions="EndAndExpand"
                       Text="delete"
                       TextColor="White"
                       VerticalTextAlignment="Center"/>
                    </StackLayout>
                    -->
            <!--</Grid>-->
            <!--
                </DataTemplate>
            </telerikDataControls:RadListView.ItemSwipeContentTemplate>-->
        </telerikDataControls:RadListView>
    </StackLayout>
</ContentPage>

Declined
Last Updated: 27 Aug 2021 09:10 by ADMIN

If you download the pdf document from the internet, save it to the device and try to show it inside PdfViewer, it will not be loaded on Xiaomi phones with MIUI 12.1. and above.

Users report similar issues with downloaded files on MIUI devices, here are a few discussions on the matter:

https://www.reddit.com/r/Xiaomi/comments/l3x5db/miui_12130_broke_file_permissions_on_mi10_lite/

https://www.reddit.com/r/Xiaomi/comments/mx05ur/file_downloading_issues_on_my_xiaomi/

It seems that's the same reason for the PdfViewer not showing downloaded pdf files as it properly shows pdf documents added as embedded resource to the solution.

Declined
Last Updated: 07 Jun 2021 06:09 by Niko

Hi telerik team,

I know, my case is very specific, but I got this Bug and need to fix it somehow.

About: I have a RadSideDrawer in which I have a Collection View in which Header I have a Carousel View. When I rotate the phone in landscape mode the items are resized. After rotate back to portrait they are resized, but a lot of space appeare between them. So the layout is somekind wrong calculated. 
This only occure in this combination on iOS. If I remove the RadSideDrawer it works, if I remove the Collection View it also works, but both together not.

Reprosteps: Create a view with carousel embedded into the header of collection view embedded in to RadSideDrawer. (see attachment)
Rotate to landscape, rotate back to portrait mode.

System information:
iOS
xamarin: 5.0.0.2012
xamarin telerik ui: 2021.1.119.4

If you have a workarround for me, I will be very happy. Somehow to trigger a recalculation might help. I tryed set some InvalidateMeasure and ForceLayout but it didn't help. Either it don't work ot I apply it wrong. 
Any help is welcome!

Best regards,
Niko

Declined
Last Updated: 07 Apr 2021 13:18 by ADMIN

Hi,

I had developed an Xamarin application, in a modal I open a PdfViewer.

PdfViewerPage pdfViewer = new PdfViewerPage(item.IdAllegato, item.Path, item.FlagScaricabile);

Navigation.PushModalAsync(pdfViewer);

I assign a url to the PdfViewer source.

pdfViewer.Source = new Uri(uri);
Everything is fine in debug mode but when I publish the app on android the PdfViewer show "an error occurred while loading the document" with all pdf.
Declined
Last Updated: 02 Mar 2021 06:54 by ADMIN
Created by: Jason
Comments: 1
Category: ListView
Type: Bug Report
0

Hello, could you provide some guidance about the following situation....

 

I have a scenario using the RadListView that implements a PropertyGroupDescriptor for a property attached to my ObservableCollection<T>, where the property that it is monitoring is string value.  The dataset is designed that it may have only one grouping before an item is selected them the dataset will have two different groupings.  One the data changes, the ListView updates to show that there are two different groups but the group header doesn't change and neither does the cell content.  If I click on the GroupHeader of the new section, then it updates to reflect the change in data.  Is there a way to get the data to change in the Listview with some kind of Refresh so it stays up to date with the data.

Seeing it on iOS right now.

 

Thanks

Declined
Last Updated: 02 Mar 2021 06:49 by ADMIN

When I update Telerik.UI.for.Xamarin to v2021.1.119.1, I got following error:

 

Unable to resolve dependency 'Telerik.UI.for.Xamarin.Documents.Spreadsheet.FormatProviders.Xls'. Source(s) used: 'nuget.org', 'Telerik', 'Microsoft Visual Studio Offline Packages'.

 

Could you help to take a look? Thanks

Declined
Last Updated: 25 Jan 2021 11:59 by ADMIN
Created by: Vardan
Comments: 4
Category: UI for Xamarin
Type: Bug Report
0

Hi folks.

 

I am using the rad list view with grouping in my application. There are some cases when the list has empty groups (That's ok because according to the application's logic I can move items between groups). The problem is that the empty group it's not actually "Empty". It has a blank item which is not desirable behavior for me. I have a list view "item tapped" event which navigates the user to the details screen and when I tap on the empty group's item the application throws an exception because the list item is blank. I have attached a sample app according to this example and GIF files showing the issue.

 

Steps To Reproduce

 

  1. Download the zip file
  2. Open The app
  3. Add necessary Telerik dlls (Can't send dlls with the sample because of size)
  4. Tap on empty item


    Versions

    1. Xamarin Forms 5.0.0.1874
    2. Telerik Controls 2020.3 (latest)
    3. IDE Visual studio 2019

     

    Declined
    Last Updated: 05 Dec 2020 20:13 by Mehdi
    Hi, I am getting NullReferenceException when trying to set AppointmentsSource for RadCalendar (version 2020.3.916.1) in my page, however, it is set and displayed successfully in the Android project.
    Declined
    Last Updated: 19 Nov 2020 13:20 by Chris

    System.MissingFieldException: Field not found: Telerik.XamarinForms.SkiaSharp.SkiaDocumentView.purePainter Due to: Could not parse field signature 0a00031b due to: Could not resolve type with token 0100014e from typeref (expected class 'Telerik.XamarinForms.SkiaSharp.DocumentView.SkiaDocumentPurePainter' in assembly 'Telerik.XamarinForms.SkiaSharp, Version=2020.3.1106.460, Culture=neutral, PublicKeyToken=null') assembly:Telerik.XamarinForms.SkiaSharp, Version=2020.3.1106.460, Culture=neutral, PublicKeyToken=null type:Telerik.XamarinForms.SkiaSharp.DocumentView.SkiaDocumentPurePainter member:(null)
      at Telerik.XamarinForms.PdfViewer.RadPdfViewer.UpdatePresenter () [0x00037] in <bd15b7ab3df742a5908d5d151a9a58d8>:0
      at Telerik.XamarinForms.PdfViewer.RadPdfViewer..ctor () [0x00048] in <bd15b7ab3df742a5908d5d151a9a58d8>:0
      at OnaMobile.Views.PdfViewPage.InitializeComponent () [0x00012] in C:\Users\chris\Work\ONAMA\onama-mobile-app\OnaMobile\OnaMobile\obj\Debugetstandard2.0\Views\PdfViewPage.xaml.g.cs:22
      at OnaMobile.Views.PdfViewPage..ctor () [0x00008] in C:\Users\chris\Work\ONAMA\onama-mobile-app\OnaMobile\OnaMobile\Views\PdfViewPage.xaml.cs:19
      at OnaMobile.ViewModels.ResourcesPageViewModel.OpenResourceAsync (OnaMobile.OnlineResources.ResourceLink resource) [0x001ac] in C:\Users\chris\Work\ONAMA\onama-mobile-app\OnaMobile\OnaMobile\ViewModels\ResourcesPageViewModel.cs:186

    iOS SDK 14.1, ARM64. Happens regardless of Linker Behavior setting.

    The page itself has nothing in its code-behind other than the default constructor calling InitializeComponent(). In the XAML, the RadPdfViewer control is in a two-row, one-column grid, where it is in the second row:

    <Grid VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" ColumnSpacing="0" RowSpacing="0">
        <Grid.RowDefinitions>
            <RowDefinition Height="60" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
    
        <Frame Grid.Row="0"><!-- ... --></Frame>
    
        <pdf:RadPdfViewer Grid.Row="1" HorizontalOptions="Fill" VerticalOptions="FillAndExpand" Source="{Binding Source}" />
    </Grid>
    The view model has a DocumentSource property Source and implements INotifyPropertyChanged. However the exception occurs before the BindingContext of the page is set to the view model.
    Declined
    Last Updated: 18 Nov 2020 17:34 by Chris

    Runtime exception: Java.Lang.RuntimeException: Font asset not found Fonts/telerikfont.ttf, when trying to access any page with controls that use telerikfont, like AutoCompleteView, TreeView, etc.

    Declined
    Last Updated: 05 Nov 2020 07:29 by ADMIN
    Created by: Stefan
    Comments: 2
    Category: UI for Xamarin
    Type: Bug Report
    1

    In Selection Changed method SelectedSeries is always empty.

    Is there other way to get which series is selected?

     

    Declined
    Last Updated: 23 Oct 2020 06:54 by ADMIN
    Created by: Robert
    Comments: 7
    Category: DatePicker
    Type: Bug Report
    0

    When RadDatePicker is used in debug/testing modes:

     

    When running in release mode:

     

     

     

     

    The border is missing, and the line under the header date as well.

     

    A coworker reports he can't set the header template at all, but I haven't confirmed that yet).

     

    The control is defined as follows:

     

    <telerikInput:RadDateTimePicker WidthRequest="175" BorderColor="#333" BorderThickness="1" ...
    
    Declined
    Last Updated: 01 Oct 2020 12:59 by ADMIN

    if the Flow Direction RTL

    the sort of columns changing each time item source changed when customize HeaderContentTemplates  as a data template

     

    and if HeaderText ysed instead of customizing label as data template the Arabic letters not shown correctly

    Declined
    Last Updated: 15 Sep 2020 13:53 by ADMIN
    Created by: Joakim
    Comments: 3
    Category: Calendar & Scheduling
    Type: Bug Report
    0

    Hi,

    The finnish translations are not correct in the calendar component. We would like to change the translations for names of days and month, in the calendar component. As far as we know, this is not possible. We can only change 4 texts (4 calendar views localization keys) according to this documentation: https://docs.telerik.com/devtools/xamarin/controls/calendar/calendar-localization

    Localization works, and we can set the language. But for the finnish language, the translations you provide for days and months are not correct. We would like to be able to change these texts ourselves, name of days and months. Is there any way for us to do this? We need the Finnish translations to be correct.

     

    Thank you!

     

    Best Regards,

    Joakim
    joakim.w@digitalcreation.se

    Declined
    Last Updated: 20 Aug 2020 07:16 by ADMIN

    Hello,

     

    I receive often a NullReferenceException in ListViewGroupHeader ArrangeOverride method.

    The error happens only in UWP.

    Unfortunately, I cannot create a project to reproduce the error.

     

    Best regards,

     

    Declined
    Last Updated: 17 Aug 2020 15:17 by ADMIN
    Created by: Oluwagbenga
    Comments: 1
    Category: DataGrid
    Type: Bug Report
    0

    Hi,

    The DataGrid does support or response to Custom Font set Using the ExportFont Attribute. But when a contentTemplate is used and a label control is place in it. The font shows on the label but not on the Header or Content of the Grid.

    Declined
    Last Updated: 21 Apr 2020 09:21 by ADMIN
    Created by: Carl Lorenze
    Comments: 2
    Category: Entry
    Type: Bug Report
    1

    My Rad Entry Doesn't Work in my Emulator but the other controls is working.

    This is my Xaml:

    this is the my Emulator the Radentry is does doesn't Working.

     

    Please Help me...

    Advance Thank youu

    Declined
    Last Updated: 07 Apr 2020 09:58 by ADMIN

    To reproduce:

    Step 1 - File > New > LoadOnDemandCollection Demo

    Follow the LoadOnDemandCollection documentation https://docs.telerik.com/devtools/xamarin/controls/datagrid/load_on_demand#loadondemandcollection

    Step 2 - Deploy to UWP

    => Observe the DataGrid will be stuck in busy state after the initial set of items load

    Declined
    Last Updated: 07 Apr 2020 09:14 by ADMIN
    Created by: jeljeljel
    Comments: 2
    Category: Installer and VS Extensions
    Type: Bug Report
    2

    If you already have the Telerik.UI.for.Xamarin NuGet package installed to your projects and you use the Telerik Toolbox to add a control, it will break your references by duplicating references to the same assemblies (one for newly added assembly reference, one for existing package reference).

    When you drag and drop in a control from the Toolbox, it will add the assembly references that point to the installation folder, even if I already have the NuGet Package referenced. This means that you would need to manually have to remove the Telerik assembly references every time you use the Toolbox. The problem is exasperated if the project structure doesn't support package reference (i.e. you cant tell which assembly to remove)

    Ultimately, this means you can't use the Telerik UI for Xamarin Toolbox when using NuGet packages.

     

     

    1 2 3