Hi,
LegendProvide in the SlideView not working
ErrorPosition 171:49. Cannot assign property "LegendProvider": Property does not exist, or is not assignable, or mismatching type between value and property
ErrorPosition 171:49. Can not find the object referenced by `pieChartOperation`
hi Admin
i would like to know if this error
03-23 13:29:20.170 D/Mono (32469): Requesting loading reference 14 (of 16) of Telerik.XamarinForms.DataControls.dll
03-23 13:29:20.171 D/Mono (32469): Loading reference 14 of Telerik.XamarinForms.DataControls.dll asmctx DEFAULT, looking for Xamarin.AndroidX.RecyclerView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
03-23 13:29:20.172 D/Mono (32469): Assembly Ref addref Telerik.XamarinForms.DataControls[0x7f6cce0080] -> Xamarin.AndroidX.RecyclerView[0x7f6cba0000]: 3
03-23 13:29:20.211 W/art (32469): JNI RegisterNativeMethods: attempt to register 0 native methods for crc644b19d71eeb53ff67.AndroidRendererBase_2
03-23 13:29:20.212 W/art (32469): JNI RegisterNativeMethods: attempt to register 0 native methods for crc644ac6aa1c847cb78b.ItemsControlRenderer
03-23 13:29:20.222 W/art (32469): JNI RegisterNativeMethods: attempt to register 0 native methods for crc6439d9b01b8ea7e4fb.ChatListViewRenderer
**System.MissingMethodException:** 'Method not found: void .Adapter.set_HasStableIds(bool)'
is fixed in this release
https://www.telerik.com/support/whats-new/xamarin-ui/release-history/ui-for-xamarin-r1-2020-(version-2020-1-318-410)
?
I have a dataform with a picker, but when I select it more than once it does not change value
private string categoria = string.Empty;
[DisplayOptions(Group = "Categoria", Position = 1, ColumnSpan = 2, Header = "Categoria", PlaceholderText = "Categoria")]
[DataSourceKey(nameof(CategoriaI))]
public string Categoria
{
get
{
return this.categoria;
}
set
{
if (this.categoria != value)
{
this.categoria = value;
this.OnPropertyChanged();
}
}
}
namespace Telerik.XamarinForms.Common
{
public abstract class NotifyPropertyChangedBase : INotifyPropertyChanged
{
protected NotifyPropertyChangedBase();
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null);
protected bool UpdateValue<
T
>(ref T field, T value, [CallerMemberName] string propertyName = null);
}
}
-- GridIssuePage.xaml --
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:telerikGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid"
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"
mc:Ignorable="d"
x:Class="GridIssueDemo.GridIssuePage">
<ContentPage.Content>
<telerikGrid:RadDataGrid AutoGenerateColumns="False" x:Name="demoDataGrid">
</telerikGrid:RadDataGrid>
</ContentPage.Content>
</ContentPage>
-- GridIssuePage.xaml.cs --
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.XamarinForms.DataGrid;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GridIssueDemo
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class GridIssuePage : ContentPage
{
public GridIssuePage()
{
InitializeComponent();
var numberOfStableColumns = 7; // <- can change this
for (var i = 0; i < numberOfStableColumns; i++)
{
demoDataGrid.Columns.Add(new DataGridTextColumn()
{
PropertyName = "data" + i,
HeaderText = "stable_" + i
});
}
var unstableColumnDataIndex = numberOfStableColumns;
var customColumnHeaderTexts = new List<string> // can add items to list ("unstable_5", "unstable_6", ...)
{ "unstable_0", "unstable_1", "unstable_2", "unstable_3", "unstable_4"};
foreach (var customHeaderText in customColumnHeaderTexts)
{
demoDataGrid.Columns.Add(new DataGridTextColumn()
{
PropertyName = "data" + unstableColumnDataIndex++,
HeaderContentTemplate = new DataTemplate(() =>
{
var headerLabel = new Label()
{
Text = customHeaderText,
VerticalTextAlignment = TextAlignment.Center,
FontSize = 14,
LineBreakMode = LineBreakMode.WordWrap,
Margin = new Thickness(5, 4),
HeightRequest = Device.RuntimePlatform == Device.iOS ? 40 : 33.715
};
return headerLabel;
})
});
}
var intRand = new Random();
var mockDataItems = new List<dynamic>();
var dataItemRowCount = 15;
var dataItemColumnCount = numberOfStableColumns + customColumnHeaderTexts.Count();
for (var i = 0; i < dataItemRowCount; i++)
{
var mockDataItem = new System.Dynamic.ExpandoObject();
var mockDataItemDict = mockDataItem as IDictionary<string, object>;
for (var dataIndex = 0; dataIndex < dataItemColumnCount; dataIndex++)
{
mockDataItemDict["data" + dataIndex] = intRand.Next(0, 100);
}
mockDataItems.Add(mockDataItem);
}
demoDataGrid.ItemsSource = mockDataItems;
}
}
}
-- --
I have attached two files that can hopefully be used to reproduce two issues I had with the HeaderContentTemplate defined in a DataGridTextColumn.
The first issue is the custom elements defined in HeaderContentTemplate gets shuffled when they go out of view and when they go into view again (for grid with width greater than the width of the device's screen). In the cs file I have attached, there are 5 columns defined with HeaderContentTemplate named "unstable_0", "unstable_1", "unstable_2", "unstable_3", "unstable_4". Let say for an Android smartphone in portrait mode, they are not visible by default because there are other columns to the left of them pushing them off-screen. When I swipe the screen to move to very right of the grid, the "unstable_" columns get rendered in the correct order. Afterward, if I swipe to move to the very left of the grid again so that I no longer see the "unstable_" columns, and then move to the very right of the grid again, instead of displaying index 0 -> 4, it displays in the reverse order (so now I see "unstable_4" -> "unstable_0"). If I move all the way to the left and all the way to the right again, I see the correct order for the "unstable_" columns again.
This is likely caused by the underlying code that decides what elements to render next on the screen for header cells defined with HeaderContentTemplate.
The code seems to be doing this: At the beginning, before the "unstable_" columns are visible:
(imaginary data structure) headerLabelsToRenderNext: "unstable_0", "unstable_1", "unstable_2", "unstable_3", "unstable_4"
When I all the way to the right, headerLabelsToRenderNextList becomes empty and the "unstable_" header labels get rendered in the correct order on-screen.
When I swipe and move the grid to the left so that "unstable_4" column moves out of view, headerLabelsToRenderNext: "unstable_4"
When I swipe and move the grid to the left so that "unstable_3" column moves out of view, headerLabelsToRenderNext: "unstable_4", "unstable_3"
When I swipe and move the grid to the left so that all "unstable_" columns move out of view, headerLabelsToRenderNext: "unstable_4", "unstable_3", "unstable_2", "unstable_1", "unstable_0",
Now when I swipe all the way to the right, the "unstable_" templated header cells' elements get displayed in a reverse order.
Please see if you can reproduce this behavior with the attached codes. The condition is that multiple of the "unstable_" columns have to be out of view first.
The second issue is that if there are more than 5 column header cells defined with HeaderContentTemplate, at least one of the templated header cell is going to get a repeated element. Let say if I have defined 6 template headers with labels: "unstable_0", "unstable_1", "unstable_2", "unstable_3", "unstable_4", "unstable_5", instead of displaying "unstable_0", "unstable_1", "unstable_2", "unstable_3", "unstable_4", "unstable_5" on-screen, what gets displayed is "unstable_0", "unstable_1" "unstable_2", "unstable_3", "unstable_4", "unstable_0"
Let me know if these issues can be reproduced on your side and if there is a work-around for them.
Hello,
I am using AutoCompleteView and i want to change height of cell. I have min two line of label but its not fitting.(second line being invisible)
How can i arrange height of SuggestionItemTemplate cell And change width of cell seperator line?
Thank you.
<telerikInput:RadAutoCompleteView.SuggestionItemTemplate>
<DataTemplate>
<ViewCell>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label Margin="5"FontSize="24"Text="{Binding Name}"TextColor="Black"/>
<Image Grid.Column="1"Margin="5"HeightRequest="20"Source="{Binding ImageSource}"WidthRequest="20"/>
</Grid></ViewCell></DataTemplate>
</telerikInput:RadAutoCompleteView.SuggestionItemTemplate>
Hi,
I would like to export a barcode image.
Can I do that with RadBarcode ? Or is it just usable in xaml ?
Thanks
Since Xamarin Forms 4.4 RadSegmentedControl within ScrollView shows temp horizontal scrollbar on Android, see screenshot.
It worked ok in XF4.3
Here is the repro project: https://github.com/VitalyKnyazev/RadSegmentedControl_Issue
" at playing.Views.Dashboard.ConstructUtilisationBarGraph () [0x0014f] in /Users/marshallhp/Projects/playing/playing/Views/Dashboard.xaml.cs:50 \n at playing.Views.Dashboard..ctor () [0x0002f] in /Users/marshallhp/Projects/playing/playing/Views/Dashboard.xaml.cs:25 \n at playing.Views.MainPage.NavigateFromMenu (System.Int32 id) [0x000a0] in /Users/marshallhp/Projects/playing/playing/Views/MainPage.xaml.cs:42 \n at playing.Views.MenuPage.<.ctor>b__3_1 (System.Object sender, Xamarin.Forms.SelectedItemChangedEventArgs e) [0x0004b] in /Users/marshallhp/Projects/playing/playing/Views/MenuPage.xaml.cs:47 \n at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021 \n at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.10.0.21/src/Xamarin.iOS/Foundation/NSAction.cs:178 \n--- End of stack trace from previous location where exception was thrown ---\n\n at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)\n at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.10.0.21/src/Xamarin.iOS/UIKit/UIApplication.cs:86 \n at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.10.0.21/src/Xamarin.iOS/UIKit/UIApplication.cs:65 \n at playing.iOS.Application.Main (System.String[] args) [0x00001] in /Users/marshallhp/Projects/playing/playing.iOS/Main.cs:17 "
Hi team, followed the example here (https://docs.telerik.com/devtools/xamarin/controls/chart/series/cartesian/line-series) and get this error in iOS simulator.
Any help would be greatly appreciated.