Telerik Forums
UI for Xamarin Forum
0 answers
339 views

 

Hello,

Our android App compiles and runs normally. However, we are facing problems when compiling our application on IOS with an error that refers to the calendar component of telerik. The error is the following:

Gravedad	Código	Descripción	Proyecto	Archivo	Línea	Estado suprimido
Error		Can't resolve the reference 'System.IntPtr ObjCRuntime.DisposableObject::get_Handle()', referenced from the method 'System.Void TelerikUI.TKCalendarDayCell::DrawEvents(CoreGraphics.CGContext,CoreGraphics.CGRect)' in 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.	Aioro.iOS		

 

XCode version 13.4

Xamarin ios SDK 15.2.0.17

Telerik Version: 2022.1.222.1

Xamarin Forms Version: 5.0.0.2337

Visual Studio: 16.11.15

MAC S.O Monterey 12.3

Thanks for the support.

Aitor
Top achievements
Rank 1
 updated question on 20 May 2022
1 answer
201 views

An error occurred: 'Object reference not set to an instance of an object.'. Callstack: '  at Telerik.XamarinForms.PrimitivesRenderer.iOS.SideDrawerRenderer.OnElementAttached (Telerik.XamarinForms.Primitives.RadSideDrawer newElement) <0x103c213b8 + 0x00054> in <3815ecfd73d84df698419fd5cca8ff43>:0 
  at Telerik.XamarinForms.Common.iOS.IosRendererBase`2[S,T].OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs`1[TElement] e) <0x112c3a4f0 + 0x00062> in <e4beb37b571e46a0993fb50802f2986c>:0 

 

I get this error on Iphone 5s & Ipad mini with the demo code for sidedraw

 

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             xmlns:local="clr-namespace:TelerikXamarinApp1.Portable"
             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:telerikGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid"
             xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
             xmlns:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
             xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
             xmlns:telerikMap="clr-namespace:Telerik.XamarinForms.Map;assembly=Telerik.XamarinForms.Map"
             xmlns:telerikPdfViewer="clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
             xmlns:telerikRichTextEditor="clr-namespace:Telerik.XamarinForms.RichTextEditor;assembly=Telerik.XamarinForms.RichTextEditor"
             x:Class="TelerikXamarinApp1.Portable.MainPage">

    <telerikPrimitives:RadSideDrawer x:Name="drawer" DrawerLength="200">
        <telerikPrimitives:RadSideDrawer.MainContent>
            <Label Text="Main content" />
        </telerikPrimitives:RadSideDrawer.MainContent>
        <telerikPrimitives:RadSideDrawer.DrawerContent>
            <Label Text="Drawer content" />
        </telerikPrimitives:RadSideDrawer.DrawerContent>
    </telerikPrimitives:RadSideDrawer>

</ContentPage>
Steven
Top achievements
Rank 1
Iron
 answered on 28 Jun 2021
1 answer
40 views

Hi all,

I am wondering if it is possible to programmatically update a menu item (for instance change the text) or also hide and then re-show an item.

I can get the items by the Items property of the TKSideDrawerSection but when the update in the item doesn't update the view, is there a way to force the menu redrawing ?

Luca
Top achievements
Rank 1
 answered on 28 Apr 2017
3 answers
45 views
Hello,

Just curious if there's anyway to use an override for a selection color (when the user is tapping - before the action is completed so like a TouchesBegan)? I'd like t set a color as a highlight but I don't see a way to do this in the API docs or the getting started docs (or while browsing the assembly in Xamarin Studio). Is there a way to do this out of the box? Or, if not, is there a way to do this using something like TouchesBegan? I've tried to override TouchesBegan but it doesn't seem to work in the TKSideDrawerDelegate class.

Thank you!
Adrian
Telerik team
 answered on 01 Sep 2016
1 answer
55 views
When using SideDrawerController how can I get the current storyboard so that I can perform segue to other view controllers on side drawer item selection?
Adrian
Telerik team
 answered on 04 May 2016
1 answer
33 views

I'm confused as to how to read the comparison table on the overview page for this (http://www.telerik.com/xamarin-ui/sidedrawer)

There's nothing listed on the Windows Phone column but there is for Xamarin.Forms, which runs on Windows Phone? So if I'm using Xamarin.Forms I can use this control on Windows Phone or not?

Thanks

Ves
Telerik team
 answered on 30 Jul 2015
3 answers
83 views

The SideDrawer documentation mentions a SideDrawerToggle class that can bind a drawer to a Toolbar.

Unfortunately i cannot find the class in any dll. Am i missing something or is this feature simply not enabled in the Xamarin.Android Components?

 

Nikolay
Telerik team
 answered on 08 Jun 2015
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?