Telerik Forums
UI for Xamarin Forum
4 answers
171 views
Hi, we are integrating some of our feature from web to mobile using telerik. We have done this multicolor per x-axis value on web. But i'am struggling to do this functionality to xamarin mobile ios and android.

Here's an example of what i accomplished on web using kendo linechart. Please see attached file.

We want the same implementation on xamarin forms for both android and ios. Thanks! 

Yana
Telerik team
 answered on 04 Mar 2021
7 answers
441 views

I use the RadChat control within a simple page in full size (no padding) on android.

When I tab the input message box, the keyboard shows up and the complete control is moving up without resizing.

This means the recent message is not visible (if it is a new conversation). How can I adjust the control resize behaviour that the keyboard is not hiding the messages?

 

Also how can I activate a whatsapp like scrollbar at the right side?

Yana
Telerik team
 answered on 02 Mar 2021
20 answers
840 views
Hello, When i'm creating a new instance of the RadBusyIndicator I get this error:

Constructor on type Telerik.XamarinForms.Primitives/Animation-1 not found


Lance | Senior Manager Technical Support
Telerik team
 answered on 01 Mar 2021
1 answer
165 views

Hi.

I'd like a little advice and suggest a new control.

Prior to iOS14 we used https://github.com/jamesmontemagno/MediaPlugin as our media picker in our Xamarin forms app.

Since https://github.com/jamesmontemagno/MediaPlugin does not work on iOS14 and is not being actively developed, we switched to xamarin/Essentials and now face a rotation issue (https://github.com/xamarin/Essentials/issues/1514) for a long time.

There seems not to be any alternatives!

What are you doing?

And how about developing a reliable upload control?

Best regards

Morten

 

Didi
Telerik team
 answered on 01 Mar 2021
1 answer
147 views

 

 

I'm using RadChat control.
I use MVVM approach to bind the control's ItemSource to an ObservableCollection property in my ViewModel.

So in my xaml I have something like this:

<telerikConversationalUI:RadChat
     Author="{Binding Me}"
     ItemsSource="{Binding Messages}"
     ItemConverter="{StaticResource SimpleChatItemConverter}"
     SendMessageCommand="{Binding SendMessageTappedCommand}"
     ItemTemplateSelector="{StaticResource MyChatItemTemplateSelector}"
     ControlTemplate="{StaticResource RadChat_ControlTemplate}"
 >

 

In my ViewModel I have something like this:

public ObservableCollection<CustomMessage> Messages { set; get; }

I have CustomMessage class which contains additional properties like MessagePostedDate (which is of type DateTime, it contains the DateTime of when the message was posted)

I've also bound SendMessageCommand in RadChat control to a command (SendMessageTappedCommand) in my ViewModel.

What I've noticed is that when the Send button is tapped, the component automatically adds a new TextMessage (with Text property set to whatever the user typed) to the list, and only then does it call the SendMessageTappedCommand in my ViewModel. However, I do not want the automatic addition of a new TextMessage since I add a new CustomMessage item to Messages collection, which is bound to the RadChat control, and the SimpleChatItemConverter (which I've bound to ItemConverter of the RadChat control) converts that CustomMessage, and displays the posted date.

So the problem is everytime the user inputs a message and clicks on Send, the message ends up showing twice. First one shows up without the posted date (because a new TextMessage is automatically appended by the component), and the second message is with posted date, which was added by my SendMessageTappedCommand.

How do I stop the automatic creation of a new TextMessage when user taps on Send button?

Yana
Telerik team
 answered on 01 Mar 2021
4 answers
615 views
Looks like 2021.1.119.480 depends on the Telerik.UI.for.Xamarin.Documents.* and Telerik.UI.for.Xamain.Zip packages but those are not included in Telerik.UI.for.Xamarin.2021.1.119.1.nupkg. Can this be fixed please?
Jared
Top achievements
Rank 1
 answered on 23 Feb 2021
3 answers
175 views
Hi, anybody knows any setting for the calendar for highlighting or identifying days with appointments in the year view mode?
I mean, when in year view mode, those days with appointments, have different color for example. Currently, just today is highlighted.
I am looking for some way without having to write separate custom renderers for Android/iOS/UWP.
Didi
Telerik team
 answered on 23 Feb 2021
3 answers
935 views

Hi,

I use local notifications in my application. I want to open my background application from notification and show the message in popup window. That gives me exeption:

Android.Views.WindowManagerBadTokenException: 'Unable to add window -- token null is not valid; is your activity running?'

I think it is duo to timing but I doesn't know how to fix it.

 

//open popup after notification tapped

private static void ShowNotification(string title, string message)
        {
            App.isBackground = false;
            Device.BeginInvokeOnMainThread(() =>
            {
                TelerikPopupWin.SetLabelText = title +"\n"+ message;
                TelerikPopupWin.OpenPopup = true;
            });
        }

 

Error happens here:

public static bool OpenPopup { get { return popup.IsOpen; } set { popup.IsOpen = value; } }

 

 

Yana
Telerik team
 answered on 22 Feb 2021
3 answers
203 views

Is there a way to "standardize" (make similar on iOS and Android) Telerik RadCalendar in Xamarin Forms, in case of Year View?

Currently, on Android, Year View shows days of months "thumbnails", which looks crappy on small devices displays - causing "overlapping", like:
attached Android_overlapping.png


On bigger devices screens it looks quite fine, but there is a difference between Android and iOS:
attached Android.png
and
attached iOS.png

Is there a way to disable days of months "thumbnails" on Android and leave only months names (like on iOS) OR to enable days of months "thumbnails" on iOS (like on Android)?

Mehdi
Top achievements
Rank 1
Veteran
 answered on 19 Feb 2021
1 answer
344 views

Hi Support,

We are currently evaluating Telerik UI for Xamarin. The component we are thinking of using heavily is Accordion Control.

Can you please provide an example on how to add multiple items dynamically to the Accordion?

All the example I found seems to be using XAML with hardcoded items.

 

Thanks.

Regards,

Andrew

Alex
Telerik team
 answered on 19 Feb 2021
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?