Hi,
I have a problem, with maintaining ScrollY position of ScrollView after RadBusyIndicator gets disabled:
I have following XAML structure:
<telerik:RadBusyIndicator>
<telerik:RadBusyIndicator.Content>
<ScrollView>
<StackLayout>
.....
</StackLayout>
</ScrollView>
</telerik:RadBusyIndicator.Content>
</telerik:RadBusyIndicator>
At the very end of StackLayout I have a button that triggers some action and RadBusyIndicator needs to be shown, but when RadBusyIndicator gets Disabled (IsBussy = false) ScrollView go to the very top without triggering Scrolled event in ScrollView.
How to persist scroll position when using RadBusyIndicator ?
Hi, I'm getting the following error when building my Xamarin.Forms project on iOS. Weirdly enough it was working fine the other day and now it consistently gives me this error. The application itself launches on iOS but half the pages are missing and some pages are missing components.
The type initializer for 'Telerik.XamarinForms.SkiaSharp.SkiaPainter' threw an exception.
Exception of type 'System.Exception' was thrown.
Telerik.XamarinForms.Common
at Telerik.XamarinForms.Common.NativeResourceProvider.ToPlatformPixels (System.Double dip) [0x00000] in <c043edb38e3c40609bb9cbd0df9066be>:0
at Telerik.XamarinForms.SkiaSharp.SkiaPainter.UpdateExpectedPpxToDpRatio () [0x00000] in <5c673afa45f14dd59e1a272b3f01ee1a>:0
at Telerik.XamarinForms.SkiaSharp.SkiaPainter..cctor () [0x00017] in <5c673afa45f14dd59e1a272b3f01ee1a>:0
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Telerik.XamarinForms.Primitives.RadPath..ctor () [0x0001b] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.Animation1.CreatePath (System.Int32 figuresCount, System.Double thickness) [0x0005d] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.Animation1..ctor (Xamarin.Forms.Color color) [0x00049] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.AnimationFactory+<>c.<.cctor>b__1_0 (Xamarin.Forms.Color p) [0x00000] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.AnimationFactory.CreateAnimation (Telerik.XamarinForms.Primitives.AnimationType animationType, Xamarin.Forms.Color color) [0x00019] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.RadBusyIndicator.PrepareAnimations () [0x00029] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.RadBusyIndicator..ctor () [0x0002d] in <38c0677356f14f22a10877afa8da8671>:0
I would like to have a message display along with the animation to let my users know exactly what is going on. But it looks like I can use EITHER the animation OR text and not both.
For instance, this displays ONLY my label:
<
telerik:RadBusyIndicator
IsBusy
=
"{Binding IsBusy}"
HorizontalOptions
=
"FillAndExpand"
VerticalOptions
=
"FillAndExpand"
AnimationContentColor
=
"{StaticResource Primary}"
AnimationType
=
"Custom"
>
<
telerik:RadBusyIndicator.Content
>
<
ScrollView
>
<
StackLayout
>
<
Label
StyleClass
=
"Heading1"
Text
=
"{Binding Title}"
/>
<
Label
Text
=
"{Binding CreateDateasString}"
StyleClass
=
"Small"
/>
<
ui:HtmlTextView
x:Name
=
"Desc"
Html
=
"{Binding Description}"
/>
</
StackLayout
>
</
ScrollView
>
</
telerik:RadBusyIndicator.Content
>
<
telerik:RadBusyIndicator.BusyContent
>
<
Label
Text
=
"{Binding BusyMessage}"
/>
</
telerik:RadBusyIndicator.BusyContent
>
</
telerik:RadBusyIndicator
>
So is there a way to use the built-in animation in the custom scenario?
Or, better yet, is there a way to display a text message without using a custom template?
Is there a way to show busy indicator on top of all the pages when data is downloading using RadBusyIndicator. Example: When The User navigates to a different page and the data is still downloading a BusyIndicator is displayed on all the pages indicating download is in progress.
Thanks.
Hi, I have a problem when using BusyIndicator. I mark the following error when I want to change its status to false
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:ONControl_Mobile.CUST.VinculoCultural"
xmlns:telerikInputDataForm="clr-namespace:Telerik.XamarinForms.Input.DataForm;assembly=Telerik.XamarinForms.Input"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="ONControl_Mobile.CUST.VinculoCultural.VCPA_AutorizacionContratoDetail"
BackgroundColor="White">
<telerikPrimitives:RadBusyIndicator x:Name="BusyIndicator"
AnimationContentHeightRequest="150"
AnimationContentWidthRequest="150"
AnimationType="Animation3"
AnimationContentColor="#4E6F99">
<telerikPrimitives:RadBusyIndicator.BusyContent>
<Label Text="Cargando..." HorizontalOptions="Center" HorizontalTextAlignment="Center"/>
</telerikPrimitives:RadBusyIndicator.BusyContent>
<telerikPrimitives:RadBusyIndicator.Content>
<ScrollView>
<AbsoluteLayout HorizontalOptions="FillAndExpand" BackgroundColor="White">
<StackLayout Padding="5,5,5,10">
<!--<ScrollView>-->
<Grid VerticalOptions="Start">
<Grid.RowDefinitions>
<RowDefinition Height="18" />
<RowDefinition Height="40" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5*" />
<ColumnDefinition Width="5*" />
</Grid.ColumnDefinitions>
<Label x:Name="LB_Folio" Text="Folio:" Grid.Row="0" Grid.Column="0" HorizontalOptions="FillAndExpand" Font="12" TextColor="Black" FontAttributes="Bold" Margin="5,0,0,0"/>
<Label x:Name="LB_Fecha" Text="Fecha:" Grid.Row="0" Grid.Column="1" HorizontalOptions="End" Font="12" TextColor="Black" FontAttributes="Bold" Margin="0,0,5,0"/>
<telerikInput:RadEntry x:Name="TB_ClienteDescripcion"
TextColor="Black"
FontSize="19"
Text="Cliente"
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="2"
HorizontalOptions="FillAndExpand"
VerticalTextAlignment="Center"
Opacity="70"
BorderStyle="{StaticResource EntryBorderStyle}"
IsEnabled="False"/>
</Grid>
<!-- Se pinta Dataform-->
<telerikInput:RadDataForm x:Name="RDF_Contrato"
Margin="5,5,0,0"
ValidationMode="Manual">
<telerikInput:RadDataForm.Source>
<local:VCPA_ContratoSource />
</telerikInput:RadDataForm.Source>
<telerikInput:RadDataForm.GroupHeaderStyle>
<telerikInputDataForm:DataFormGroupHeaderStyle Background="Gainsboro" Foreground="Black" Height="55" Padding="10" TextAlignment="Center" />
</telerikInput:RadDataForm.GroupHeaderStyle>
</telerikInput:RadDataForm>
<!--Spinner-->
<Label Text="Seleccionar Estado" FontSize="12" TextColor="#424242" FontAttributes="Bold" Font="Arial"></Label>
<Picker x:Name="P_Estado"
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="2"
HorizontalOptions="FillAndExpand"
FontSize="Small"
VerticalOptions="Start"
TextColor="Gainsboro"
SelectedIndexChanged="P_Estado_SelectedIndexChanged"/>
<Label Text="Seleccionar Ciudad" FontSize="12" TextColor="#424242" FontAttributes="Bold" Font="Arial"></Label>
<Picker x:Name="P_Ciudad"
Grid.Row="3"
Grid.Column="0"
Grid.ColumnSpan="2"
HorizontalOptions="FillAndExpand"
FontSize="Small"
VerticalOptions="Start"
TextColor="Gainsboro"
SelectedIndexChanged="P_Ciudad_SelectedIndexChanged"/>
<!--Grabar Documento-->
<telerikInput:RadButton x:Name="B_Autorizar"
Text="Autorizar Contrato"
Clicked="B_Autorizar_Clicked"
FontSize="12"
TextColor="Black"/>
<!--</ScrollView>-->
</StackLayout>
</AbsoluteLayout>
</ScrollView>
</telerikPrimitives:RadBusyIndicator.Content>
</telerikPrimitives:RadBusyIndicator>
</ContentPage>