Hi all,
I have an issue with setting up Telerik.UI.for.Xamarin.
I have made all as required in http://docs.telerik.com/devtools/xamarin/controls/calendar/getting-started/calendar-getting-started .
The issue is that I have and exception when starting to debug on emulator:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2056,3): error MSB6006: "java.exe" exited with code 2.
I have changed Java Max Heap Size to 1G and it doesn't help me.
Microsoft Visual Studio Community 2015 Version 14.0.25422.01 Update 3
Microsoft .Net Framework Version 4.6.01586
<package id="Telerik.UI.for.Xamarin.Trial" version="2016.3.1012.3" targetFramework="portable45-net45+win8+wpa81" />
<package id="Xamarin.Forms" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
<package id="Xamarin.Forms.Maps" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
android:versionName="1.0.0" android:versionCode="7"
Google Play Service Version = 33
Windows 10 Pro 64-bit OS
Maybe I forget something?
I haven't this issue until I have downloaded Telerik and set
[assembly: ExportRenderer( typeof( Telerik.XamarinForms.Input.RadCalendar ), typeof( Telerik.XamarinForms.InputRenderer.Android.CalendarRenderer ) )]
in MainActivity and set
Xamarin.Forms.Forms.Init( this, bundle );
Telerik.XamarinForms.Common.Android.TelerikForms.Init();
Also, MainActivity does inherit FormsAppCompatActivity
public class MainActivity : FormsAppCompatActivity.
Best regard,
Roman Hapatyn
I tested a few days with a trial version and today purchased a developer license. I downloaded and installed the "licensed" setup.
Nevertheless, the nuget feed still contains the trail packages. Even when i enter the url https://nuget.telerik.com/nuget/Packages in a browser. My username is correctly attached to the license (Manage Licensed Users).
Do i need to cancel the trial? I could not find an option to do so. Any help appreciated. Thank you!
Hi,
I played around with your Gauge control and noticed it has a gradient range. But do you have an option to set a gradient background on other controls - it should be "easy" since you already developed the gradient feature?
I am a bit confused, but it looks like the Providers are implemented for WPF only...
So, in case if say I want to have an OpenStreetMap loaded on the background and add shapes from shp file over it, then I should find some other components, and there is no way to handle that with Telerik?
(Jic, I've got a Xamarin.Forms project).
Thanks!
Hello,
I'm trying to migrate from CollectionView to RadListView and one of the challenges I'm facing is that the Selected visual state is not applied to the cell. For example, consider the following code:
<
ContentPage
>
<
ContentPage.Resources
>
<
ResourceDictionary
>
<
DataTemplate
x:Key
=
"itemTemplate"
>
<
Frame
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroupList
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"Selected"
>
<
VisualState.Setters
>
<
Setter
TargetName
=
"someSignature"
Property
=
"controls:SignaturePadView.IsEnabled"
Value
=
"True"
/>
<
Setter
TargetName
=
"someSignature"
Property
=
"controls:SignaturePadView.SignatureLineColor"
Value
=
"#FF4081"
/>
</
VisualState.Setters
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateGroupList
>
</
VisualStateManager.VisualStateGroups
>
<
StackLayout
>
<
Label
Text
=
"Name:"
/>
<
Label
Text
=
"{Binding Path=Name}"
/>
<
controls:SignaturePadView
x:Name
=
"someSignature"
IsEnabled
=
"False"
>
</
controls:SignaturePadView
>
</
StackLayout
>
</
Frame
>
</
DataTemplate
>
</
ResourceDictionary
>
</
ContentPage.Resources
>
<
telerikDataControls:RadListView
x:Name
=
"listView"
ItemsSource
=
"{Binding Path=Items}"
ItemTemplate
=
"{StaticResource itemTemplate}"
SelectedItem
=
"{Binding Path=SelectedItem"
>
<
telerikDataControls:RadListView.SelectedItemStyle
>
<
telerikListView:ListViewItemStyle
BackgroundColor
=
"LightSkyBlue"
/>
</
telerikDataControls:RadListView.SelectedItemStyle
>
</
telerikDataControls:RadListView
>
</
ContentPage
>
In the example, I only want to enable the signature pad when the cell is selected. However, since the Selected visual state is not applied to the parent view of the DataTemplate, the code does not work. This is contrary to the behavior of the Microsoft collection view controls, i.e. ListView and CollectionView.
Is there a way I can have RadListView apply the Selected visual state to the view I define in the DataTemplate? If not, what can I trigger off of?
Thanks,
Josh
After I Upgrade xamarin.ios SDK to 13.4, create a new RadListView will throw following exception :
**Foundation.MonoTouchException:** 'Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[Telerik_XamarinForms_DataControlsRenderer_iOS_ListViewDataSource settings]: unrecognized selector sent to instance 0x600003017680
Any suggestion so i can overcome this problem?
My Licence had expired ,so i'm still using Telerik® UI for Xamarin 2018.1.405.240
Regards,
Robert
Hello,
I have a RadTabView who has 3 tabs. For each tab header, i use a style like this :
<ControlTemplate x:Key="TabViewHeaderItemControlTemplate">
<Grid BackgroundColor="{StaticResource GreyLightColor}">
<primitives:RadBorder BorderThickness="0,0,0,0" HeightRequest="50"
CornerRadius="20,20,0,0"
BorderColor="{StaticResource GreyMediumColor}"
BackgroundColor="{StaticResource GreyMediumColor}"
Padding="0" >
<primitives:RadBorder.Triggers>
<DataTrigger TargetType="primitives:RadBorder"
Binding="{TemplateBinding IsSelected}"
Value="True">
<Setter Property="BackgroundColor" Value="{StaticResource Key=BlueLightColor}" />
<Setter Property="BorderColor" Value="{StaticResource Key=BlueLightColor}" />
</DataTrigger>
<DataTrigger TargetType="primitives:RadBorder"
Binding="{TemplateBinding IsSelected}"
Value="False">
<Setter Property="BackgroundColor" Value="{StaticResource Key=GreyMediumColor}" />
<Setter Property="BorderColor" Value="{StaticResource Key=GreyMediumColor}" />
</DataTrigger>
</primitives:RadBorder.Triggers>
<Label Text="{TemplateBinding Text}"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center"
FontFamily="SFR-Bold.otf#SFR-Bold"
FontAttributes="Bold"
FontSize="20" >
<Label.Triggers>
<DataTrigger TargetType="Label"
Binding="{TemplateBinding IsSelected}"
Value="True">
<Setter Property="TextColor" Value="White" />
</DataTrigger>
<DataTrigger TargetType="Label"
Binding="{TemplateBinding IsSelected}"
Value="False">
<Setter Property="TextColor" Value="{StaticResource Key=BlackColor}" />
</DataTrigger>
</Label.Triggers>
</Label>
</primitives:RadBorder>
</Grid>
</ControlTemplate>
The result is like the photo attached. But there is always a gap between two headers.
I want to know, if there is a way that i can remove the gap between two headers. So that two tabs will be next to each other.
Thank you.