Unplanned
Last Updated: 07 May 2020 08:01 by ADMIN
Created by: Dayanand
Comments: 1
Category: UI for Xamarin
Type: Bug Report
1

The chart's series are not detecting property changed notifications on items in the series.

Note:

  • This works as expected in UWP
  • The series also doesn't seem to detect any ItemsSource property changes either.

Reproducible

If you have a data model where the properties are using INotifyPropertyChanged, for example from your NotifyPropertyChangedBase

public class Item : NotifyPropertyChangedBase
{
    private DateTime date;
    private int value;

    public DateTime Date
    {
        get => date;
        set => UpdateValue(ref date, value);
    }

    public int Value
    {
        get => value;
        set => UpdateValue(ref this.value, value);
    }
}

Here's a view model to use, invoke the command to observe the problem

public class MainViewModel : NotifyPropertyChangedBase
{
    public MainViewModel()
    {
        var rand = new Random();

        DataPoints = new ObservableCollection<Item>(Enumerable.Range(1,5).Select(i=>new Item
        {
            Date = DateTime.Today.AddDays(-i),
            Value = rand.Next(1,10)
        }));

        ChangeDataCommand = new Command(() =>
        {
            foreach (var dataPoint in DataPoints)
            {
                dataPoint.Value = rand.Next(1, 20);
            }
        });
    }

    private ObservableCollection<Item> dataPoints;
    public ObservableCollection<Item> DataPoints
    {
        get => dataPoints;
        set => UpdateValue(ref dataPoints, value);
    }

    public Command ChangeDataCommand { get; set; }
}

<Grid>
    <Grid.RowDefinitions>
        <RowDefinition/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>

    <telerikChart:RadCartesianChart x:Name="Chart">
        <telerikChart:RadCartesianChart.HorizontalAxis>
            <telerikChart:DateTimeContinuousAxis LabelFormat="MM-dd"
                                                 LabelFitMode="Rotate" />
        </telerikChart:RadCartesianChart.HorizontalAxis>
        <telerikChart:RadCartesianChart.VerticalAxis>
            <telerikChart:NumericalAxis Minimum="0" Maximum="10"/>
        </telerikChart:RadCartesianChart.VerticalAxis>
        <telerikChart:RadCartesianChart.Series>
            <telerikChart:LineSeries ValueBinding="Value"
                                           CategoryBinding="Date"
                                           ItemsSource="{Binding DataPoints}" />
        </telerikChart:RadCartesianChart.Series>
    </telerikChart:RadCartesianChart>

    <Button Text="Change Data"
            Command="{Binding ChangeDataCommand}"
            HorizontalOptions="Fill"
            Margin="5"
            Grid.Row="1"/>
</Grid>

Unplanned
Last Updated: 23 Apr 2020 10:46 by ADMIN
Created by: Jinfeng
Comments: 1
Category: UI for Xamarin
Type: Bug Report
0
RdBusyIndicator BusyContent data binding does not work. If a string constant is assigned to the     

 

     <telerik:RadBusyIndicator
                HorizontalOptions="FillAndExpand"
                VerticalOptions="FillAndExpand"
                IsBusy="{Binding IsBusy}"
                IsVisible="{Binding IsBusy}"
                AnimationContentHeightRequest="60"
                AnimationContentWidthRequest="60"
                AnimationType="Animation3"
                AnimationContentColor="{DynamicResource BrandPrimaryColor}">
                <telerik:RadBusyIndicator.BusyContent>
                    <Label Text="{Binding BusyContent}" HorizontalOptions="Center"/>
                </telerik:RadBusyIndicator.BusyContent>
      </telerik:RadBusyIndicator>

 

RdBusyIndicator BusyContent data binding does not work for the above Label inside the "telerik:RadBusyIndicator.BusyContent". If a string constant is assigned to the Text(for example "Loading..."), then it works perfectly.

The view model 100% has the property "BusyContent" with a value. By the way, the IsBusy and IsVisible data binding work fine.   

Unplanned
Last Updated: 20 Apr 2020 09:12 by ADMIN

Use the following code to reproduce the behavior described in the issue title:

<telerikInput:RadButton BorderThickness="10,0,0,0" BorderColor="Blue" Clicked="RadButton_Clicked"/>

private void RadButton_Clicked(object sender, EventArgs e)
{
  RadButton btn = (RadButton)sender;
  if (btn.BorderColor == Color.Blue)
  {
    btn.BackgroundColor = Color.Yellow;
    btn.BorderColor = Color.Red;
  }
  else
  {
    btn.BorderColor = Color.Blue;
    btn.BackgroundColor = Color.Cyan;
  }
}

Expected Result:

Both the BackgroundColor and BorderColor change without any changes to BorderThickness.

Observed Result:

The RadButton's border disappears. Note that even if I programmatically set BorderThickness in the same click event, it is still not visible again.

 

This is reproducible using 2020.1.318 and minimum required dependencies on Android.

Unplanned
Last Updated: 19 Mar 2020 09:49 by ADMIN
If DataGrid is placed inside Grid Row with "*" Height inside RadPopup, the layout of the control is broken when user enters edit mode.  As soon as the keyboard is shown, the DataGrid disappear.
Unplanned
Last Updated: 19 Dec 2019 13:23 by ADMIN

When using the __ItemStyle properties of RadListView, they are not being applied if the SelectionMode is set to None. It makes sense that the PressedItemStyle and SelectedItemStyle properties are not used, since they are not applicable if nothing can be selected. However, the ReorderItemStyle in particular should still be used.

 

Example:

    public class ItemStyleNotAppliedExample : ContentPage
    {
        private readonly ListViewItemStyle WhiteBG = new ListViewItemStyle
        {
            BackgroundColor = Color.White
        };

        private readonly ListViewItemStyle YellowBG = new ListViewItemStyle
        {
            BackgroundColor = Color.Yellow
        };

        private readonly ListViewItemStyle RedBG = new ListViewItemStyle
        {
            BackgroundColor = Color.Red
        };

        private readonly ListViewItemStyle BlueBG = new ListViewItemStyle
        {
            BackgroundColor = Color.Blue
        };

        public ItemStyleNotAppliedExample()
        {
            BackgroundColor = Color.Gray;

            var items = new ObservableCollection<Item>
            {
                new Item("Item 1"),
                new Item("Item 2"),
                new Item("Item 3"),
                new Item("Item 4"),
                new Item("Item 5"),
            };

            Content = new RadListView
            {
                SelectionMode = SelectionMode.None,
                IsItemsReorderEnabled = true,
                ItemsSource = items,
                ItemTemplate = new DataTemplate(typeof(ItemView)),

                ItemStyle = WhiteBG,
                PressedItemStyle = YellowBG,
                SelectedItemStyle = RedBG,
                ReorderItemStyle = BlueBG,
            };
        }

        private class Item
        {
            public string Name { get; }

            public Item(string name)
            {
                Name = name;
            }
        }

        private class ItemView : ListViewTemplateCell
        {
            public ItemView()
            {
                var checkbox = new CheckBox
                {
                    VerticalOptions = LayoutOptions.Center
                };

                var label = new Label
                {
                    VerticalOptions = LayoutOptions.Center
                };

                label.SetBinding(Label.TextProperty, nameof(Item.Name));

                View = new StackLayout
                {
                    BackgroundColor = Color.Transparent,
                    Orientation = StackOrientation.Horizontal,
                    Children =
                    {
                        checkbox,
                        label
                    }
                };
            }
        }
    }

Unplanned
Last Updated: 06 Dec 2019 11:37 by ADMIN
When arrows are expanded ( in horizontal position ) a part of them is cut off on UWP
Unplanned
Last Updated: 04 Dec 2019 15:32 by ADMIN

When you have a page with RadCalendar and DayViewSettings properties are data-bound, navigating back in Prism raises a "Cannot destroy page" exception.

Unplanned
Last Updated: 07 Nov 2019 14:22 by ADMIN
Placing a StackLayout inside the GroupHeaderTemplate causes a NullReferenceException at Xamarin.Forms.StackLayout.AlignOffAxis method
Unplanned
Last Updated: 06 Nov 2019 08:10 by ADMIN
Created by: Vitaly
Comments: 1
Category: UI for Xamarin
Type: Bug Report
2

Hello,

 

RadPopup control causes memory leaks on iOS.

Here is the repro project https://github.com/VitalyKnyazev/RadPopupLeak

 

Thanks

Vitaly

 

Unplanned
Last Updated: 28 Aug 2019 07:43 by ADMIN

If we have a ListView with a CheckBox inside the ItemTemplate and the whole ListView is placed in a Popup control, following the next steps:

1. Open the popup

2. Check and uncheck the CheckBox control in any of the items.

3. Click into the popup and then outside to close it.

NullReferenceException is raised on iOS.

Unplanned
Last Updated: 12 Aug 2019 21:04 by ADMIN

Hi there,

 

We're struggeling with the radentry control. For login purposes we use one for the password and one for the email. When we set IsPassword=true this does show dots instead of words, but some basic stuff isn't working.

1) The normal entry with IsPassword=true does also hide the suggestion tab that is above the keyboard. We also tried hiding this with other settings but to no result. This control should also hide suggestions since it is a password and we don't want to cache this in any way.

2) When we replace the radentry password field with a xamarin entry password field (so set IsPassword=true on both) then we also get the password fill option. In this case Samsung keypass. I imagine if people are using autofillers such as samsung, google, or something else, that this should also work since i'm stating the field is a password field.

Tested on android with multiple devices.

Thanks in advance!

 

Martijn

Unplanned
Last Updated: 15 Jan 2019 15:44 by ADMIN
Created by: Mano Sadeh
Comments: 0
Category: UI for Xamarin
Type: Bug Report
0
When the Mask property is set to letters and digits, the Mask accepts symbols too.
Unplanned
Last Updated: 20 Dec 2018 15:20 by ADMIN

When Maximizing and Restoring the application's window, the RadSideDrawer's MainContent sometime gets measured wrong. This results in a corrupt state where all the main content is off-screen when the app is in the Restored state.

This can be tricky to reproduce without guidance, therefore I've recorded a video (attached) to demonstrate how to reproduce it as fast as possible with the code below:

<ContentPage ...>
    <telerikPrimitives:RadSideDrawer
            DrawerLength="400"
            AreGesturesEnabled="false"
            DrawerLocation="Bottom"
            DrawerTransitionType="SlideInOnTop"
            DrawerTransitionDuration="0.2"
            IsOpen="False"
            VerticalOptions="FillAndExpand">
        <telerikPrimitives:RadSideDrawer.DrawerContent>
            <StackLayout
                VerticalOptions="FillAndExpand"
                BackgroundColor="GreenYellow">
                <Label
                    Text="DrawerContent"
                    VerticalOptions="FillAndExpand"/>
            </StackLayout>
        </telerikPrimitives:RadSideDrawer.DrawerContent>
        <telerikPrimitives:RadSideDrawer.MainContent>
            <StackLayout
                Orientation="Vertical"
                VerticalOptions="FillAndExpand"
                BackgroundColor="LightBlue"
                Margin="0"
                Padding="10">
                <Button
                    Text="Telerik"
                    FontSize="Large"
                    BackgroundColor="Orange"
                    HorizontalOptions="FillAndExpand" />
            </StackLayout>
        </telerikPrimitives:RadSideDrawer.MainContent>
    </telerikPrimitives:RadSideDrawer>
</ContentPage>

Unplanned
Last Updated: 03 Aug 2018 08:19 by ADMIN
ADMIN
Created by: Nikolay Demirev
Comments: 0
Category: UI for Xamarin
Type: Bug Report
0
SlidedToIndex event is triggered from a non-UI thread which forces the users to use Device.BeginInvokeOnMainThread
Unplanned
Last Updated: 17 Jul 2018 13:56 by ADMIN
ADMIN
Created by: Lance | Manager - Technical Support
Comments: 0
Category: UI for Xamarin
Type: Bug Report
0
When the Telerik Xamarin toolbox is in a partial-height tab (i.e. half the height), there isn't a scrollbar to see the off-screen controls.

Workaround: 
Make the toolbox full height of the tab to see all the controls. Here's a video demonstrating https://www.screencast.com/t/cUjIC0sx4 
Unplanned
Last Updated: 21 Jun 2018 13:11 by ADMIN
Unplanned
Last Updated: 18 Jun 2018 15:09 by ADMIN
ADMIN
Created by: Lance | Manager - Technical Support
Comments: 0
Category: UI for Xamarin
Type: Bug Report
3
Multiple selected items that were selected become unselected when being filtered out.

Steps to reproduce:

1 - Select multiple items
2 - Apply filter where some or all of the selected items are filtered out
3 - Remove filter

Observe: 

1 - The items that were previously selected have lost their selection state after returning
2 - Items that were not filtered, or selected while filter was active, retain selection state
Unplanned
Last Updated: 15 Jun 2018 08:13 by ADMIN
AddEditorForProperty method is not respected, the default editor is used instead. 

As a workaround, please use SetEditorProvider method  (https://docs.telerik.com/devtools/xamarin/nativecontrols/android/dataform/dataform-features) in order to create custom editors.
Unplanned
Last Updated: 16 May 2018 07:41 by ADMIN
ADMIN
Created by: Stefan Nenchev
Comments: 0
Category: UI for Xamarin
Type: Bug Report
1

					
			
Unplanned
Last Updated: 06 Apr 2018 07:35 by ADMIN
Chart: [iOS] A needless label is displayed at the end for DateTimeContinuousAxis
1 2