Telerik Forums
UI for Xamarin Forum
1 answer
196 views
I have  a RadListView inside RadTabView, from RadListView it navigates to a content page, when returning to the  RadTabView the memory increases. can you please tell me why the memory increases when returning to the RadListView inside the RadTabView
Yana
Telerik team
 answered on 27 Jul 2022
1 answer
117 views
Hello, please can you help me understand why RadDateTimePicker popUp does not work for IOS. On Android working perfectly.
Didi
Telerik team
 answered on 22 Jul 2022
1 answer
111 views

Hi all,

The use case that I am triying to replicate is that we have some events and these can be daily/weekly/monthly/yearly recurring. So I decided to use the calendar & Scheduling component as it provided the recurrence option. When I tested the daily and weekly recurrended options it worked perfectly but to my surprise when trying to get the events recurring every month or year the trouble started.

Even tought I am using the   RecurrenceFrequency.Monthly as my frecuency rule, as we can see from the image it still seem to put it as a daily recurrence. Same happens when the  RecurrenceFrequency.Yearly option is used. Here the code used:

 foreach (Evento evento in this.ListaEventosAgenda)
            {

                EventData eventoNuevo = new EventData() {StartDate=evento.fechaInciio,EndDate=evento.fechaFin,Title=evento.titulo,LeadBorderColor = Color.FromHex(evento.colorCategoria),ItemBackgroundColor=Color.White,
                Id=evento.id,idOrg=evento.idOrg,idCategoria=evento.idCategoria,imageUrl=evento.fotoUrl,Detail=evento.descripcion,IsAllDay=evento.isAllDay,recurrenciaAnual= evento.recurrenciaAnual,recurrenciaMensual=evento.recurrenciaMensual,
                recurrenciaSemanal=evento.recurrenciaSemanal,recurrenciaDiaria=evento.recurrenciaDiaria, categoria=evento.categoria,Color = Color.FromHex(evento.colorCategoria)
                };
            //StartDate: evento.fechaInciio,endTime: evento.fechaFin,eventText: evento.titulo,leadColor: Color.FromHex("59B6B8"),itemColor: Color.White,
            //detalles: evento.descripcion, id: evento.id,imageUrl: evento.fotoUrl, IsAllDay: evento.isAllDay

             RecurrenceRule recurrenceRule = null;
                if (evento.recurrenciaDiaria)
                {
                    //var recurrencePattern = new RecurrencePattern(new int[] { }, RecurrenceDays.WeekDays, RecurrenceFrequency.Daily, 1, null, null);// { MaxOccurrences = 37 };
                    //recurrenceRule = new RecurrenceRule(recurrencePattern);


                    recurrenceRule = new RecurrenceRule(new RecurrencePattern()
                    {
                        Frequency = RecurrenceFrequency.Daily,
                    });

                    eventoNuevo.RecurrenceRule = recurrenceRule;
                }

                  else if (evento.recurrenciaSemanal)
                {

                    //var recurrencePattern = new RecurrencePattern(new int[] { }, RecurrenceDays.WeekDays, RecurrenceFrequency.Weekly, 7, null, null);// { MaxOccurrences = 37 };
                    recurrenceRule = new RecurrenceRule(new RecurrencePattern()
                    {
                        Frequency = RecurrenceFrequency.Weekly,

                    });
                    try
                    {

                    eventoNuevo.RecurrenceRule = recurrenceRule;
                    }
                    catch (Exception error)
                    {

                        Debug.WriteLine(error.Message); ;
                    }
                }

               else if (evento.recurrenciaMensual)
                {
                    var a = eventoNuevo.StartDate.DayOfWeek;
                    //var recurrencePattern = new RecurrencePattern(new int[] { }, RecurrenceDays.WeekDays, RecurrenceFrequency.Monthly, 30, null, null);// { MaxOccurrences = 37 };
                    recurrenceRule = new RecurrenceRule(new RecurrencePattern()
                    {
                        Frequency = RecurrenceFrequency.Monthly,
                    });
                    eventoNuevo.RecurrenceRule = recurrenceRule;
                }

                 else if (evento.recurrenciaAnual)
                {
                    //var recurrencePattern = new RecurrencePattern(new int[] { }, RecurrenceDays.WeekDays, RecurrenceFrequency.Daily, 365, null, null);// { MaxOccurrences = 37 };
                    recurrenceRule = new RecurrenceRule(new RecurrencePattern()
                    {
                        Frequency = RecurrenceFrequency.Yearly,

                    });
                    eventoNuevo.RecurrenceRule = recurrenceRule;
                }

                this.Events.Add(eventoNuevo);
            }

Yana
Telerik team
 answered on 20 Jul 2022
1 answer
212 views

Hi,

I am trying to add the Xamarin libraries to a project I am working on. I have the Nuget source configured properly: When I search for Telerik libraries they all appear correctly, however they fail to install.

Restoring packages for /******.csproj...
Restoring packages for .NETStandard,Version=v2.1...
  GET https://api.nuget.org/v3-flatcontainer/telerik.ui.for.xamarin.datacontrols.lite/index.json
  NotFound https://api.nuget.org/v3-flatcontainer/telerik.ui.for.xamarin.datacontrols.lite/index.json 306ms
Resolving conflicts for .NETStandard,Version=v2.1...
Unable to find package Telerik.UI.for.Xamarin.DataControls.Lite. No packages exist with this id in source(s): nuget.org
Package restore failed. Rolling back package changes for '****'.
Is this a VS 2022 issue or am I missing something?
Didi
Telerik team
 answered on 18 Jul 2022
1 answer
160 views
1 answer
118 views

Also any issues that you came up with such as speed of executing the tests. How and where did you run the tests and do you think there are better ways to do mobile app testing with some of the new products out there?

Georgi
Telerik team
 answered on 06 Jul 2022
1 answer
114 views
Hello,

I've been looking for hours in the example of DataFormControl but found nothing! In the example ReservationExample there are icons in front of the editor. How do they get there?!

Regards
Yana
Telerik team
 answered on 04 Jul 2022
1 answer
166 views

My project has a list of objects (Products) and each Product is made up of multiple Components. I display the list of Products in a RadListView, and show the Components in a RadExpander (for each element within the list).

If I add a Product with say, 4 Components to the list, then remove it, then add a Product with 2 Components the area drawn on the screen for the Components is the size that it would be if there were 4 Components. The same is true in reverse, if I add a Product with 2 Components, then remove it and add one with 4, the bottom 2 Components are cut off.

EG - Add 4 Component item - Add Truck (Door/Seat/Wheels/Windows)

Remove it from the list by clicking the X - then add a 2 Component item - Add Car (Door/Seat)

As you can see, the blue RadExpander area still has room for the extra 2 components.

Currently, I am having to clear my entire backing list out every time I Add/Remove a Product from the list to overcome this issue. Surely it should be capable of simply redrawing itself correctly?

 

I attach a Zip with a test project, currently using the latest available NuGet for Telerik.UI.for.Xamarin (2022.2.505.1), and latest Xamarin.Forms NuGet (5.0.0.2478).

Any assistance would be greatly received - thanks.

Didi
Telerik team
 answered on 24 Jun 2022
2 answers
566 views

Want to have the label appear side by side with the input box not above it.

I see in the android native version a labelposition property but no property shows in xamarin forms.

What is the best approach for this using forms.

We will not be switching to the native controls but I do suspect we will never go past android for this internal application, so a solution that makes ios harder would be acceptable.

David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 19 Jun 2022
1 answer
130 views

hi,

I want to ask you about the height of tabviewheaderitem that I set, but it doesn't seem to take effect. It exceeds the height I set. What should I do to keep it at the same height as the green grid? Thank you


 

 

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 17 Jun 2022
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?