Telerik Forums
UI for Xamarin Forum
2 answers
193 views

Hi 

I m facing problem in binding the data  radlistview by using it in xamairin forms . I am using the same technique  kando_listview.SetBinding(RadListView.ItemsSourceProperty, "RecentTopics"); like this as in xamarin listview bindinig.This property is working fabulous but  i m facing problem when to use the same technique while binding in radlistview as mentioned above . Please help me out as i m facing a lot of problem and it is going to be pain in my ass 

 

Thanks 

JAhanziab

jahanzaib
Top achievements
Rank 1
 answered on 08 Dec 2015
10 answers
374 views

Hi all,

 I'm working on an application using the Telerik Calendar Widget for IOS.  Functionally, everything works okay.  I'm now trying to get into some customization of the cells, and more specifically what the events look like.  Before this, I created an Android application and created a customer renderer for the calendar for the cells.  I've attached a picture of what my calendar looks like in Android.  I'd like to recreate something similar to this for the IOS version.  I'm new to IOS development all together, and like I said its the Xamarin version, so everything is in C#.

 

It doesn't need to be an exact match.  The important part is that I can display the event's text next to the event indicator.  Basically, each day can only have 1 event object, and the title of that event is the number representation next to it.  Which is how many pieces are part of that event.  

 I'm thinking the goal for IOS would be to move the date in the cell from the center to more of the top right corner and then increase the size of my event?  I'm just not sure how to do this or even start in IOS.

 

Would I need to use UpdateVisualsForCell?

 

Thank you for any help

 

 

Pavel R. Pavlov
Telerik team
 answered on 27 Nov 2015
1 answer
138 views
How can I get more than two columns in grid layout for list view?     
Tsvyatko
Telerik team
 answered on 27 Nov 2015
8 answers
130 views

You get the following exception in iOS when you open a new calendar and very quickly select a date (as fast as possible).  This doesn't seem to happen in Android.  To give full disclosure, I'm using a static ObservableCollection to load appointments to the calendar.  The collection isn't loaded every time the calendar is displayed because it may have already been updated in the last 30 minutes.  However, I can recreate the problem with and without the collection loading.

 

System.InvalidCastException: Unable to cast object of type 'TelerikUI.TKCalendarMonthPresenter' to type 'UIKit.UIView'
2015-10-23 14:51:37.757 BGNMobileAppiOS[3344:820123] Unhandled managed exception:
Unable to cast object of type 'TelerikUI.TKCalendarMonthPresenter' 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 /Users/builder/data/lanes/2077/1d27ac2c/source/maccore/src/build/ios/native/UIKit/UIView.g.cs:3647
at Xamarin.Forms.Platform.iOS.PageRenderer+<ViewAndSuperviewsOfView>d__22.MoveNext () [0x00035] 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) [0x0000c] in <filename unknown>:0
at UIKit.UIGestureRecognizer+_UIGestureRecognizerDelegate.ShouldReceiveTouch (UIKit.UIGestureRecognizer recognizer, UIKit.UITouch touch) [0x0000d] in /Users/builder/data/la

Nikolay
Telerik team
 answered on 26 Nov 2015
1 answer
168 views
How would you specify a custom DataTemplate in XAML?
Pavel R. Pavlov
Telerik team
 answered on 25 Nov 2015
3 answers
120 views

Hello

 I am using RadCalendar Component and I am setting the TrySetViewMode to CalendarViewMode.Year but the method is always returning false. I am using Xamarin forms and testing with an Android device.

 

    public YearCalendarView()
        {
            StackLayout mainView = new StackLayout
            {
                Padding = 0,
                Spacing = 0,
            };

            CustomizeNavigationBar(mainView);

            RadCalendar calendar = new RadCalendar
            {
                VerticalOptions = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
            };

            bool setView = calendar.TrySetViewMode(CalendarViewMode.Year);

            Console.WriteLine(setView);

            mainView.Children.Add(calendar);

            Content = mainView;
        }

Rosy Topchiyska
Telerik team
 answered on 23 Nov 2015
1 answer
181 views

I have a project that uses a PCL library along with iOS and Android apps. I had been using just the RadListView, but now I added a RadDataForm to the project. I have followed the directions for adding the renderer (same way I did for RadListView) but I get the following error when global::Xamarin.Forms.Forms.Init (); is called: 

Could not load type Telerik.XamarinForms.InputRenderer.iOS.DataFormRenderer, Telerik.XamarinForms.InputRenderer.iOS, Version=2015.3.1028.151, Culture=neutral, PublicKeyToken=null while decoding custom attribute

 I have the following two attributes in my AppDelegate.cs file, outside the using clause:

[assembly:Xamarin.Forms.ExportRenderer(typeof(Telerik.XamarinForms.DataControls.RadListView), typeof(Telerik.XamarinForms.DataControlsRenderer.iOS.ListViewRenderer))]
[assembly:Xamarin.Forms.ExportRenderer(typeof(Telerik.XamarinForms.Input.RadDataForm), typeof(Telerik.XamarinForms.InputRenderer.iOS.DataFormRenderer))]

And the following call in the FinishedLaunching method after global::Xamarin.Forms.Forms.Init ();

Telerik.XamarinForms.Common.iOS.TelerikForms.Init ();

Rosy Topchiyska
Telerik team
 answered on 23 Nov 2015
2 answers
106 views

Hi,

Forms 2.0 suddenly popped up without warning.

Do Telerik intend to support it in the next release? I won't be annoyed if you say no but I'd like to plan a roadmap to moving to Forms 2.0.0.0 as we have to stick with Forms 1.5.1.

Thanks in advance,

Norman.

N Mackay
Top achievements
Rank 1
 answered on 18 Nov 2015
3 answers
175 views

Hi -

My RadListView in iOS is invoking the ItemTapped callback twice when I tap it.  I am using Prism to navigate to another page when tapping an item -- basically to see more details about an item in the list.  But I get TWO of the detail pages loaded in iOS when I tap the item.  I've traced this back to the ItemTapped event getting invoked twice on iOS when an item is tapped.  The GitHub repo below should reproduce this for you easily.  Run the app with a  breakpoint in the MainPage view ItemTapped callback and then tap an item in the listview when it opens.  You will hit the callback twice.

Additionally, the swipe functionality does not behave well -- it ALSO invokes the ItemTapped callback -- which I definitely don't want since it navigates me away from the page.  This can also be seen with the breakpoints mentioned above.

Here is the project that will repro the ItemSwiped callback issues.

https://github.com/dahlsailrunner/TelerikSample

 

I appreciate any help you can provide.  I'm guessing this will require a fix on your side -- but if my code is wrong just let me know.

Thanks -

Erik

 
 
Pavel R. Pavlov
Telerik team
 answered on 16 Nov 2015
1 answer
111 views
Is there a way to specify the type of keyboard that should be used for an individual property in the DataForm?
Rosy Topchiyska
Telerik team
 answered on 13 Nov 2015
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?