This is a migrated thread and some comments may be shown as answers.

Telerik Entry crashes on ios but working in android

1 Answer 215 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 06 Feb 2020, 05:49 AM
<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>

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 06 Feb 2020, 11:43 AM

Hi George,

I would need more details on the exact scenario you have - I've tested the provided snippet and RadEntry is properly displayed on iOS on my side. Still, I had to remove the missing references ( to StaticResources, the behavior and the effect) and I suspect that any of those could be the reason for the error.

In addition, I have checked the logged issues of RadEntry and came across the following:

https://feedback.telerik.com/xamarin/1419120-custom-font-in-radentry-causes-crash-on-xamarin-ios

Please check whether the exception is the same, and in case it is - you can try to set the FontFamily in code-behind instead.

If that does not help, send me a runnable example where the issue can be replicated and debugged. You'll have to open a private support ticket and attach it in a zip file there.

Regards,
Yana
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
George
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or