Telerik Forums
UI for Xamarin Forum
4 answers
531 views

Hi,

 

I noticed that when i set the placement of the popup it displays in the bottom right of the screen on android.

When i set it to relative it fills the screen.

Code for below:

<telerikPrimitives:RadPopup.Popup>
        <telerikPrimitives:RadPopup
            AnimationType="Zoom"
            IsModal="True"
            IsOpen="{Binding ShowUserActions}"
            OutsideBackgroundColor="#6F000000"
            Placement="Center">

            <Grid
                Padding="30"
                BackgroundColor="White"
                HorizontalOptions="Center"
                VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                ....... content
            </Grid>

        </telerikPrimitives:RadPopup>
    </telerikPrimitives:RadPopup.Popup>

Didi
Telerik team
 answered on 24 Feb 2020
3 answers
162 views

Good afternoon,

First sorry for my bad English.

I added several buttons to a RadTabView, the "More" button is displayed automatically. But how do I customize the design via code behind this button? Add an icon and text.

 

Thanks

Didi
Telerik team
 answered on 21 Feb 2020
1 answer
181 views

https://nuget.telerik.com/nuget/ seems to be down

Navigating to the URL prompts for credentials, but the page does not return a list of packages.

This is causing IDE Nuget upgrades to fail for projects that include Telerik.

"Attempting to gather dependency information for multiple packages with respect to project 'PaycorEmployee.iOS', targeting 'Xamarin.iOS,Version=v1.0'
Unable to load the service index for source https://nuget.telerik.com/nuget."

This seems to have been going on since Friday Feb 14th. Also verified on a mobile device using the cellular network.

Thanks.

Lance | Senior Manager Technical Support
Telerik team
 answered on 17 Feb 2020
1 answer
136 views

Hello,

I have this exception when running on iOS : System.EntryPointNotFoundException: 'sk_refcnt_safe_unref'

<bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKObject.DisposeNative () [0x0000a] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKNativeObject.Dispose (System.Boolean disposing) [0x0002a] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKObject.Dispose (System.Boolean disposing) [0x00000] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKSurface.Dispose (System.Boolean disposing) [0x00000] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKNativeObject.DisposeInternal () [0x00000] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.SKNativeObject.Dispose () [0x00009] in <bbddcb2c541b425685678410ffe54489>:0 
  at SkiaSharp.Views.iOS.SKCanvasView.Draw (CoreGraphics.CGRect rect) [0x00094] in <b00521b27e7e4333aaef9a8d38e346f1>:0 
  at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/UIKit/UIApplication.cs:86 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/UIKit/UIApplication.cs:65 
  at Portwin.iOS.Application.Main (System.String[] args) [0x00001] in C:\PROJETS\XAMARIN\PORTWIN XAMARIN\Portwin\Portwin\Portwin.iOS\Main.cs:17 

 

Actually i'm just trying to run this sample : 

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage 
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Class="Portwin.Tests.CurTestPage">

    <ScrollView
        HorizontalOptions="FillAndExpand"
        VerticalOptions="FillAndExpand"
        >

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <telerikImageEditor:RadImageEditor x:Name="imageEditor" Padding="4"  />
            <telerikImageEditor:RadImageEditorToolbar Grid.Row="1" Padding="4" ImageEditor="{x:Reference imageEditor}" />
        </Grid>
    </ScrollView>

</ContentPage>

 

Xamarin.iOS : 13.8.3.0

Xamarin.Forms : 4.4.0.991640

Telerik : 2020.1.114.1

SkiaSharp : 1.68.1.1

 

 

Sébastien
Top achievements
Rank 1
 answered on 13 Feb 2020
3 answers
192 views

Hi Team,

I am trying our Telerik for Calendar & Scheduler. I have read your documents on Calendar & Scheduling however, I am unable to find how to add users in the Calendar.  I would like follow similar to the documentation that was displayed as attached. Is there a way to display users in our Calendar? 

Pardon me for lack of knowledge as I have just started learning C#.

 

Thank you.

Didi
Telerik team
 answered on 12 Feb 2020
1 answer
220 views
<telerikInput:RadEntry x:Name="passwordentry"
                                           WatermarkText="{StaticResource Password}"
                                           WatermarkTextColor="#1E2E86"
                                           TextColor="Black"
                                           SelectionLength="50"
                                           HeightRequest="50"
                                           Text="{Binding Password}"
                                           IsPassword="True"
                                           BackgroundColor="White"
                                           VerticalOptions="End"
                                           HorizontalOptions="FillAndExpand"
                                           FontFamily="{StaticResource RegularFont}"
                                           BorderStyle="{StaticResource EntryBorderStyle}"
                                           Margin="0,0,0,1"
                                           Padding="15,0,15,0">
                        <telerikInput:RadEntry.Behaviors>
                            <behaviors:EventToCommandBehavior EventName="Unfocused"
                                                              CommandParameter="Password"
                                                              Command="{Binding EntryUnfocused}" />
                        </telerikInput:RadEntry.Behaviors>
                        <telerikInput:RadEntry.Effects>
                            <effects:ShowHidePassEffect />
                            <effects:BorderEffect />
                        </telerikInput:RadEntry.Effects>
                    </telerikInput:RadEntry>
Yana
Telerik team
 answered on 06 Feb 2020
1 answer
263 views
<telerikGrid:DataGridTemplateColumn
                        CanUserSort="True"
                        HeaderText="%">
                        <telerikGrid:DataGridTemplateColumn.SortDescriptor>
                            <common:PropertySortDescriptor PropertyName="UnitsPercentage" />
                        </telerikGrid:DataGridTemplateColumn.SortDescriptor>
                        <telerikGrid:DataGridTemplateColumn.HeaderStyle>
                            <telerikGrid:DataGridColumnHeaderStyle
                                BackgroundColor="Transparent"                                    
                                TextFontAttributes="Bold"
                                HorizontalTextAlignment="Center"
                                OptionsButtonText=" "
                                TextFontSize="30"
                                IndicatorColor="{StaticResource DarkBlueColor}"/>
                        </telerikGrid:DataGridTemplateColumn.HeaderStyle>

                        <telerikGrid:DataGridTemplateColumn.CellContentTemplate>
                            <DataTemplate>                                    
                                <Grid
                                    BackgroundColor="{Binding UnitsPercentage, Converter={StaticResource PercentColorConverter}}"
                                    Margin="5"
                                    Padding="10">
                                    <Label
                                        FontAttributes="Bold"
                                        Margin="0, 5, 0, 5"
                                        HorizontalOptions="Center"
                                        Text="{Binding UnitsPercentage, StringFormat='{0:N2}'}"
                                        TextColor="White"
                                        VerticalTextAlignment="Center"/>
                                </Grid>                                        
                            </DataTemplate>
                        </telerikGrid:DataGridTemplateColumn.CellContentTemplate>
                    </telerikGrid:DataGridTemplateColumn>
Yana
Telerik team
 answered on 05 Feb 2020
5 answers
388 views
Hi!

I'm using RadCartesianChartView in my Xamarin.Android project. When there are no data to display I see "No Data" message. How can i customize it? I need to change text and textcolor for this message.
Didi
Telerik team
 answered on 04 Feb 2020
2 answers
161 views

Hello,

We're using RadChat and would like to switch the send message button image to be an animated spinner when a message is being sent, and prevent any new message being entered and sent during this process.

How would you recommend we achieve this?

We've attempted to achieve this by including the following, with the idea of binding the RotationX and RotationY properties and adjusting the angle. However, this seems to skew the width/height of the send image button rather than just rotating it. Would using an image of the same width/height solve this?

    <ContentPage.Resources>
        <Style TargetType="tkinput:RadButton">
            <Setter Property="RotationX" Value="45" />
            <Setter Property="RotationY" Value="45" />
        </Style>
    </ContentPage.Resources>

Also, what would be the best approach to change the watermark text of the entry box and disable it during this process?

 

Many thanks

Patrick

n/a
Top achievements
Rank 1
 answered on 04 Feb 2020
3 answers
97 views

Hey,

When I try to use autocomplete.ShowSuggestions() on Focused event it throws the following exception:

System.NullReferenceException: Object reference not set to an instance of an object
  at Telerik.XamarinForms.Common.Data.BindingExpressionHelper.CreateGetValueFunc (System.Type itemType, System.String propertyPath) [0x00087] in <d31b8c2f44a04552920107024c0e5e8b>:0 
  at Telerik.XamarinForms.Common.FunctionCreator.GetOrCreateValueFunc (System.Type type) [0x00036] in <d31b8c2f44a04552920107024c0e5e8b>:0 
  at Telerik.XamarinForms.Input.RadAutoCompleteView+<>c__DisplayClass233_0.<FilterItems>b__2 (System.Object suggestion) [0x00011] in <b1cca8ba717349bda560d7320d914ffe>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x00037] in <ee28ffe65f2e47a98ea97b07327fb8f4>:0 
  at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].MoveNext () [0x00067] in <ee28ffe65f2e47a98ea97b07327fb8f4>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source)

 

in Android everything is working great the problem is only in iOS

Didi
Telerik team
 answered on 03 Feb 2020
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?