Telerik Forums
UI for Xamarin Forum
24 answers
290 views

Hello,

I am  getting the following exception, when I use the Calendar control in Year view mode. (The same also happens when the calendar is in week mode)

2015-04-21 11:57:37.212 DzjinTonikMobileiOS[706:165460] Unhandled managed exception: Unable to cast object of type 'TelerikUI.TKCalendarYearPresenter' to type 'UIKit.UIView' (System.InvalidCastException)
  at ObjCRuntime.Runtime.GetNSObject[UIView] (IntPtr ptr) [0x00000] in <filename unknown>:0 
  at UIKit.UIView.get_Superview () [0x00010] in /Developer/MonoTouch/Source/monotouch/src/build/native/UIKit/UIView.g.cs:3239 
  at Xamarin.Forms.Platform.iOS.PageRenderer+<ViewAndSuperviewsOfView>d__0.MoveNext () [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.Any[UIView] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 
  at Xamarin.Forms.Platform.iOS.PageRenderer.OnShouldReceiveTouch (UIKit.UIGestureRecognizer recognizer, UIKit.UITouch touch) [0x00000] in <filename unknown>:0 
  at UIKit.UIGestureRecognizer+_UIGestureRecognizerDelegate.ShouldReceiveTouch (UIKit.UIGestureRecognizer recognizer, UIKit.UITouch touch) [0x0000d] in /Developer/MonoTouch/Source/monotouch/src/
build/native/UIKit/UIGestureRecognizer.g.cs:625 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0001c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:45 
  at DzjinTonikMobile.iOS.Application.Main (System.String[] args) [0x00001] in d:\iBoris\DzjinTonikMobile\Main\DzjinTonikMobile\DzjinTonikMobile.iOS\Main.cs:12 

My details:
OS: Windows 8.1
Regional settings: bg-BG
IDE: Visual studio Premium 2013 version 12.0.31101.00 update 4
Xamarin  SDK: 3.9.547.0
Xamarin.iOS   8.9.1.0
Telerik for Xamarin version: 2015.1.319

Regards,
Mihail

Vladislav
Telerik team
 answered on 19 Sep 2016
2 answers
90 views
Please be very clear on this on your website, right not this is not really the case.

If you do support, then plese update this page with the proper references needed for UWP. I am struggling desperately to get this the ListView (and the other controls) to work...

http://docs.telerik.com/devtools/xamarin/controls/listview/listview-getting-started

Windows 8.0 and 8.1 are more or less outdated..

Lars
Top achievements
Rank 1
 answered on 16 Sep 2016
1 answer
156 views

Hi,

 

Yesterday we bought the license for Xamarin and we want to do some charts like the image attached. We read the documentation but is not very avanced in how to create this charts. Can you help me please with some more detailed documentation or example? it is possible to reach that level of design with the actual component?

Pavel R. Pavlov
Telerik team
 answered on 16 Sep 2016
8 answers
268 views

Hi Team,

 I have a RadListView in Xamarin Forms which has a custom cell. This cell contains a number of objects plus an Image. If I deploy this to an Android device is stutters when scrolling the list. If I remove the Image then the list scroll is smooth. How can I get a smooth scrolling list with an image attached? I am using the "UI for Xamarin Q2 2015" dlls.

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Sep 2016
1 answer
61 views

Hi Telerik team!

Trying to display a simple chart. It works fine in Android, but in iOS it looks like series are not centered. (screen attached)

Could you please help with it?

<telerikChart:RadPieChart Palette="{x:Static viewModels:BenefitsViewModel.CustomChartPalette}" BackgroundColor="Aqua"
                                                    RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.5, Constant=-100}"
                                                    RelativeLayout.YConstraint="{ConstraintExpression Type=Constant, Constant=50}"
                                                    RelativeLayout.WidthConstraint="{ConstraintExpression Type=Constant, Constant=200}"
                                                    RelativeLayout.HeightConstraint="{ConstraintExpression Type=Constant, Constant=200}" Rotation="90">
                                              <telerikChart:RadPieChart.Series>
                                                <telerikChart:PieSeries ItemsSource="{Binding PieChartBenefitsData}" AllowSelect="False" ShowLabels="False" >
                                                  <telerikChart:PieSeries.ValueBinding>
                                                    <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
                                                  </telerikChart:PieSeries.ValueBinding>
                                                </telerikChart:PieSeries>
                                              </telerikChart:RadPieChart.Series>
                                            </telerikChart:RadPieChart>

Tsvyatko
Telerik team
 answered on 06 Sep 2016
3 answers
75 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
4 answers
254 views

Hello

I am trying to run a very basic App. I simply created a blank Xamarin.Forms app. Then followed the simple steps to add a Telerik Xamarin DataForm.

But when the app reaches this line in the iOS appdelegate file: "return base.FinishedLaunching(app, options);" it says TelerikForms.init must be called after Forms.Init. I add that line but yet i still get the same error.

If i comment out the dataform control in the Main.xaml file the app loads and shows "hellow world".

Any ideas anyone? this is very frustrating to be stuck on the first step.

Everything is the latest version freshly installed (and reinstalled).

Help please! Thanks

Roy

 

roy
Top achievements
Rank 1
 answered on 01 Sep 2016
1 answer
93 views

Dear Telerik Team,

we just build in the RadCalendar (Trial Version) in our Xamarin.Forms iOS app. The app is running fine (displaying the Calendar Control) when deploying in Debug mode on a real device via USB. But when we deploy the app via Apple AppStore so that we can internally test it via Testflight it crashes when displaying the RadCalendar Control. Is it possible to deploy a trial version of your Xamarin Controls via AppStore so our testers can test it on their devices?

 

Kind regards

Christian

Tsvyatko
Telerik team
 answered on 01 Sep 2016
1 answer
84 views

Hi:

In iOS,  the appointment indicators in the cell by default are shown in horizontal layout.  Would be possible to show them in vertical layout (like in Android).

If thats wont be possible, could be possible to display them in several in horizontal lines, in case that we have several appointments for a day.

 

Thanks

 

David

 

Adrian
Telerik team
 answered on 31 Aug 2016
1 answer
131 views

Good Day

Can you help me please I am creating a calendar app in Xamarin Forms.

Is it possible to bind the Calendar appointments into API instead of this:

calendar.AppointmentsSource = new List<Appointment>()

{

new Appointment() {StartDate = DateTime.Today.AddDays(1),

EndDate = DateTime.Today.AddDays(2).AddTicks(-1),

Title = "Mom's Birthday",Color = Color.Red },

new Appointment() {

StartDate = DateTime.Today.AddDays(3).AddHours(17),

EndDate = DateTime.Today.AddDays(3).AddHours(22),

Title = "Big Game",Color = Color.Green },

new Appointment() {

StartDate = DateTime.Today.AddDays(11).AddHours(20),

 EndDate = DateTime.Today.AddDays(12).AddHours(4),

Title = "Progress Party",Color = Color.Red

}

};

Having my class like this:

public class Appointment : IAppointment

{

public DateTime ToDate{ get; set; }

public DateTime FromDat{ get; set; }

public string Subject{ get; set; }

}

if it possible please can you guide me since I am new to Xamarin

 

 

Tsvyatko
Telerik team
 answered on 31 Aug 2016
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?