I've got a Calendar in Week view mode nested inside of a SlideView as such:
<
telerikPrimitives:RadSlideView
>
<
telerikPrimitives:RadSlideView.ItemsSource
>
<
x:Array
Type
=
"{x:Type ContentView}"
>
<
ContentView
>
<
telerikInput:RadCalendar
/>
</
ContentView
>
<!-- other views -->
</
x:Array
>
</
telerikPrimitives:RadSlideView.ItemsSource
>
</
telerikPrimitives:RadSlideView
>
Is there a way to allow the (horizontal) swipe gesture to propagate to the Calendar when it occurs on the Calendar? As it stands now, no matter where the user swipes the SlideView always handles it, and thus the user cannot swipe left/right to scroll through the Calendar, unless the Calendar is in the view that is in the first/last position inside of the SlideView.
I have started getting the following error on a page with a chart present:
(29060): Assembly Ref addref Telerik.XamarinForms.Chart[0xab4fc630] -> System[0xab814130]: 14
Unhandled Exception: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
This happens on the InitializeComponent() call in the page constructor. The problem seems to be with the Behaviors, when I remove the following lines from my XAML, the exception doesn't happen:
<telerikChart:RadCartesianChart.Behaviors>
<telerikChart:ChartPanAndZoomBehavior ZoomMode="Both" PanMode="Both"/>
<telerikChart:ChartTrackBallBehavior x:Name="BallBehavior" ShowIntersectionPoints="True" ShowTrackInfo="True" />
</telerikChart:RadCartesianChart.Behaviors>
I'm using the latest versions of xamarin.forms [3.0.0.482510] and the telerik controls [2018.2.516.0] (both updated in my project today).
We have a page which consists of a vertical scrollview containing a stack layout with several children elements, one of which is a chart.
The chart has a ChartPanAndZoomBehaviour attached to it with only horizontal scrolling enabled, but whenever we pan the chart the pages scrollview also reacts to the touch input and makes the chart usage awkward since the page scrolls slightly too as you drag your finger across the screen (your finger naturally wanders slightly up/down as you swipe across the screen).
We need a way so that when a drag motion is started on the chart, it first determines the starting direction of the drag.
- If its a vertical drag then the page scrolling is enabled but chart scrolling disabled
- If its horizontal drag the the chart scrolling is enabled and the page scrolling disabled.
I couldn't find any events or anything which get fired when the chart detects touch input.
Is there a way I can make this work how we expect?
The performance of my RadListView is abysmal for large collections of items.
I'm following all the documentation here: http://docs.telerik.com/devtools/xamarin/controls/listview/features/listview-features-load-on-demand but also looked at the official ListView documentation here: https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/performance/#Caching_Strategy
How can I enable ListViewCachingStrategy.RecycleElement for RadListView?
Hello I am using records R2 release dlls on Xamarin forms 2.4.0.282 . I am just running the getting started example given as it is. Initially I got blank page but now I am getting type load exception . Is there anything else I need to do?
(I included all the required dlls mentioned and also skiasharp dlls)
We have a cartesian chart with a horizontal categorical axis and want to display the label along this axis over multiple lines.
It works fine for ios but doesn't work at all for android, it just displays it all on one line.
How can we get this to work for android also?
Hi, in my code i must enter a check on the entered value during edit mode (like a custom validation). There is an Telerik.Grid event that triggers this moment where i can check the validation (UI must disable some controls in the page until "logical" validation is not ok, so user can insert an invalid value, but i want control that user choose one valid value before re-enable this controls).
Thanks, Massimiliano
I am trying out the trial version and it is giving the expected message about purchasing the controls. That is not the problem. The problem is that nothing is rendering at all for Android.
My code is very simple:
c#:
propertyList = new ObservableCollection<
Property
>() {
new Property(){
ImageUrl = "camera.png",
Address = "Address1",
CombinedAddress = "City1, state1",
CombinedNumbers = "numbers1",
AtomId = 1
},
new Property(){
ImageUrl = "profile.png",
Address = "Address2",
CombinedAddress = "City2, state2",
CombinedNumbers = "numbers2",
AtomId = 2
},
new Property(){
ImageUrl = "redheart.png",
Address = "Address3",
CombinedAddress = "City3, state3",
CombinedNumbers = "numbers3",
AtomId = 3
}
};
listView.ItemsSource = propertyList;
XAML:
<
StackLayout
x:Name
=
"List"
Orientation
=
"Vertical"
Spacing
=
"20"
Margin
=
"30,0,30,0"
>
<
telerikDataControls:RadListView
x:Name
=
"listView"
SwipeOffset
=
"70, 0, 0, 0"
SwipeThreshold
=
"10"
>
<
telerikDataControls:RadListView.ItemTemplate
>
<
DataTemplate
>
<
telerikListView:ListViewTemplateCell
>
<
telerikListView:ListViewTemplateCell.View
>
<
StackLayout
Orientation
=
"Vertical"
>
<
Label
Margin
=
"10,10,10,0"
FontAttributes
=
"Bold"
FontSize
=
"16"
Text
=
"{Binding Address}"
TextColor
=
"Black"
/>
<
Label
Grid.Row
=
"1"
Margin
=
"10,0,10,10"
FontAttributes
=
"Italic"
FontSize
=
"13"
Text
=
"{Binding CombinedAddress}"
TextColor
=
"Gray"
/>
</
StackLayout
>
</
telerikListView:ListViewTemplateCell.View
>
</
telerikListView:ListViewTemplateCell
>
</
DataTemplate
>
</
telerikDataControls:RadListView.ItemTemplate
>
</
telerikDataControls:RadListView
>
</
StackLayout
>