Telerik Forums
UI for Xamarin Forum
6 answers
408 views
I've recently gotten this message when submitting to Test Flight:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

I am not using UIWebView anywhere in my application, so I'm wondering do any of the Telerik Xamarin controls use it?
Lance | Senior Manager Technical Support
Telerik team
 answered on 28 Apr 2020
17 answers
2.4K+ views

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

Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Apr 2020
7 answers
1.2K+ views

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!

deftb
Top achievements
Rank 1
 answered on 17 Apr 2020
3 answers
492 views

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?  

Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Apr 2020
1 answer
128 views

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!

 

Yana
Telerik team
 answered on 12 Apr 2020
1 answer
1.6K+ views

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

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Apr 2020
1 answer
357 views
Is it possible to use a DataTemplateSelector for the GroupHeaderTemplate, much like we can with the ItemTemplate (through ItemTemplateSelector)? I cannot find any documentation on this.
Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Apr 2020
1 answer
261 views

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

Didi
Telerik team
 answered on 31 Mar 2020
3 answers
346 views

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.

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 26 Mar 2020
3 answers
167 views
I have a number of fields in my class that are nullable but I am using a TKDataFormPickerViewEditor (Date does the same)  and when i load a new object in the form it always sets the nullable fields to being the first one in the picker list. I assumed that I could set the SelectedIndex = -1 but that does nothing.
Simon
Top achievements
Rank 1
Veteran
 answered on 25 Mar 2020
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?