Telerik Forums
UI for Xamarin Forum
4 answers
230 views

Hi,

I have a Xamarin Forms project, with Telerik PDF Viewer.

I simply added a PDF Viewer on a page, for testing it:

- opening a PDF with an URL

- Opening a PDF with Stream as Embedded Resource

 

Results:

On IOS, it's OK for Both

On UWP it's OK for Stream loading, but I have an error on URL "An error occurred while loading the document"

On Android, OK for both URL and Stream loading, but when I rotate the device, the PDF Viewer is completely blocked.(tested on Nexus 5X emulator and Samsung S9 real device)

Yana
Telerik team
 answered on 22 Apr 2019
6 answers
138 views

Why when I go file new project telerik app for xamrian that the project still builds with a pcl libary ealrier posts seem to say that it now can build with .net standard.

 

However this is def not the case in Visual Studio 2019 Community release version.

https://www.screencast.com/t/ZctVU8JOT

Yana
Telerik team
 answered on 22 Apr 2019
6 answers
153 views

Currently in the android version the day view of the calendar there seems to be a bug. When there is an all-day appointment selected it will normally display the all-day header appointment item. If we select another date and go back to the date before it will not always show the all-day header item. This can be seen in the images that are attached to this post.

Xamarin forms version: 3.4.0.1008975
Telerik version: 2019.1.131.1
OS: Android

Asanka
Top achievements
Rank 1
 answered on 22 Apr 2019
1 answer
202 views

HI Guys,

I am looking for a Parallax HeaderView for a ListView so that as you scroll the ListView, the Header expands or contracts.

Is there such a tool in Telerik? (I haven't seen it yet)

 

Ian

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Apr 2019
1 answer
101 views

Hi,

 

Is there any way to add background color when we select cell in day/multi day views in radCalendar?

Let's say i I select 02:00-3.00 time period it should be show in different color. 

Thanks

Didi
Telerik team
 answered on 16 Apr 2019
7 answers
144 views

hi,

In multi day view mode if user swipe left or right calendar changes date by its own (may be force put on calendar)

I need to detect user swipe gesture, below codes aren't firing

 

<telerikInput:RadCalendar.GestureRecognizers>
               <SwipeGestureRecognizer Swiped="SwipeGestureRecognizer_Swiped" Threshold="10"/>
           </telerikInput:RadCalendar.GestureRecognizers>

any work around ? even in renderers ?

 

Didi
Telerik team
 answered on 15 Apr 2019
8 answers
386 views

I am just doing some test with this control. I found an issue that Grid header text can't show chinese characters correctly.

Here is my XAML.

 

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikChart="clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart"
             xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             xmlns:telerikGauges="clr-namespace:Telerik.XamarinForms.DataVisualization.Gauges;assembly=Telerik.XamarinForms.DataVisualization"
             xmlns:telerikDataGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid"
             x:Class="TelerikXamarinApp2.Portable.StartPage">
    <StackLayout>
        <Label Text="You are ready to use all controls from UI for XamarinForms suite." HorizontalOptions="Center" VerticalOptions="Center"/>
        <telerikInput:RadMaskedInput></telerikInput:RadMaskedInput>
        <!--<telerikInput:RadCalendar></telerikInput:RadCalendar>-->
        <telerikDataGrid:RadDataGrid x:Name="DataGrid" UserEditMode="Cell" AutoGenerateColumns="False">
            <telerikDataGrid:RadDataGrid.Columns>
                <telerikDataGrid:DataGridTextColumn PropertyName="Country"
                                            HeaderText="国家">
                    <telerikDataGrid:DataGridTextColumn.CellContentStyle>
                        <telerikDataGrid:DataGridTextCellStyle TextColor="Green" 
                                                       FontSize="15" 
                                                       SelectedTextColor="Orange"  />
                    </telerikDataGrid:DataGridTextColumn.CellContentStyle>
                </telerikDataGrid:DataGridTextColumn>
                <telerikDataGrid:DataGridTextColumn PropertyName="Capital"
                                                HeaderText="Capital">
                    <telerikDataGrid:DataGridTextColumn.CellContentStyle>
                        <telerikDataGrid:DataGridTextCellStyle TextColor="Green" 
                                                           FontSize="15" 
                                                           SelectedTextColor="Orange"  />
                    </telerikDataGrid:DataGridTextColumn.CellContentStyle>
                </telerikDataGrid:DataGridTextColumn>
            </telerikDataGrid:RadDataGrid.Columns>
        </telerikDataGrid:RadDataGrid>
    </StackLayout>
</ContentPage>

Please give me some advice.

Thanks.

Kevin

 

Petrushka
Top achievements
Rank 1
 answered on 12 Apr 2019
1 answer
108 views

Hallo,

im new with Xamarin Forms. With my Samsung Galaxy Tab S2 (Model SM-T813) I must hit 2 times . or , to make the input.

Is there a easyer way to fix this, then write a renderer for android to handle the key event?

Pavel R. Pavlov
Telerik team
 answered on 12 Apr 2019
3 answers
77 views

hi,

if i use ScrollAppointmentIntoView(todayFirstAppointment) it won't scroll into that appointment position in iOS. Can reproduce in both Day and MultiDay calendar.

 

same code works fine in  Android. even inside Device.begininvoleonmainthread not help

Didi
Telerik team
 answered on 12 Apr 2019
3 answers
380 views

Hi,

I'm using Xamarin Forms 3.6.0.264807, Telerik UI for Xamarin 2019.1.318.1, .Net standard 2.0.3 and Visual Studio 2017 (Win 10).

I would like to package and distribute the APK but in release mode the Android project fails to build. 

This is the error (when linking SDK assemblies only):

Error The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.Common.PlatformCulture::.ctor(System.String)' in assembly: 'Telerik.XamarinForms.Common.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.String[] System.String::Split(System.Char,System.StringSplitOptions)
   at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
   at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
   at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
   at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
   at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
   at Mono.Linker.Steps.MarkStep.ProcessQueue()
   --- End of inner exception stack trace ---
   at Mono.Linker.Steps.MarkStep.ProcessQueue()
   at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
   at Mono.Linker.Steps.MarkStep.Process()
   at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
   at Mono.Linker.Pipeline.Process(LinkContext context)
   at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

 

A very similar error is produced when linking SDK and User assemblies.

I have tried changing the linking (only None option works). 

Many times I have cleaned, deleted all obj and bin folders, re-cleaned and rebuilt the project and it always fails when linking assemblies.

I've removed all Telerik assemblies then the project will build successfully with either SDK or SDK and User assembly linking.

I've updated to latest Xamarin Forms (3.6.0.293080) and this behaves exactly the same.

I've looked through these forums and I have found similar problems, but most relate to upgrading XF from 2.X to 3.X.  This is not the case for my app, it started as a XF 3+ application.  I've only recently added Telerik assemblies and it all works fine in debug mode.

The most similar issue is this post: https://www.telerik.com/forums/build-fails---can't-resolve-the-reference-'system-string-system-string-split(system-char-system-stringsplitoptions)'.  The differences are that my situation is Android project, and I am building/archiving using VS2017 (not hosted).

Do you have any suggestions?

 

Thanks,

Graeme

 

 

 

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 11 Apr 2019
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
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?