Telerik Forums
UI for Xamarin Forum
2 answers
96 views

Hi,

I have a calendar with a date range in day-view mode (eg. I set the minDate and maxDate to 2018-02-14 00:00:00 and 2018-02-28 23:59:59).

When navigating to a date out of the range, the "Time" section will not be able to scroll anymore, even swipe back to the date within the range is still ok. 

(ie. I try to navigate to 02-13, the calendar will stay in 02-14, this is expected. However, after doing so, I cannot scroll the time to check appointments anymore. But I can still navigate to a day within the range, eg. 02-15.)

This behavior only happen in iOS. I don't see this issue in Android. 

 

I attached a project contains only a calendar with this issue. 

Nasko
Telerik team
 answered on 19 Feb 2018
4 answers
107 views

I have placed Datagrid on non-modal page and filled with data. Next step I open a modal or non-modal page to view details of selected item (PushAsync or PushModalAsync) unfortunately after the page is closed (PopAsync or PopModalAsync respectively) Datagrid disappears - is not refreshed - not rerendered. This happens in iOS only (both iPhone and iPad) - Android works fine. I noticed in 2018_1_117_5 when started using Datagrid but nothing changed in 2018_1_202_1.

Working on VS2017 on Win10 compilation on XCode 9.2 (9C40b).

I will be grateful for some tip or idea what may cause such behavior.

Thanks in advance.

Jacek
Top achievements
Rank 1
 answered on 16 Feb 2018
1 answer
126 views

I have a Label inside a Frame to make it has rounded borders. But nothing shows in listview item. No text or background color also not working. just white background items.

Can not we use Frame inside ListViewTemplateCell.View ? how to achieve this behavior ?

<telerikDataControls:RadListView.ItemTemplate>
                                <DataTemplate>
                                    <telerikListView:ListViewTemplateCell>
                                        <telerikListView:ListViewTemplateCell.View>
 
 
                                        <Frame CornerRadius="5" Padding="0">
                                            <Label Text="text" Margin="0" BackgroundColor="Green" TextColor="White"/>
                                        </Frame>
                                          </telerikListView:ListViewTemplateCell.View>
                                    </telerikListView:ListViewTemplateCell>
                                </DataTemplate>
                            </telerikDataControls:RadListView.ItemTemplate>
Stefan Nenchev
Telerik team
 answered on 16 Feb 2018
2 answers
162 views
Hi ,

I'm having a problem that when I'm trying to use RadSegmentedControl in my page it's not showing, even that I followed every step of this doc. https://docs.telerik.com/devtools/xamarin/controls/segmentedcontrol/getting-started/segmentcontrol-getting-started

Im trying to use on my android project.

Best Regards
Aridon
Yana
Telerik team
 answered on 16 Feb 2018
1 answer
162 views

Is it just me, or does Xamarin lack a solid (and well documented) social login component that leverages OAuth2 to support all popular social media sites? Xamarin.Auth seems incomplete and the documentation is horrible.

Telerik, what are the odds that you could create a component that could do this for us? We choose what provider(s) to use or can add our own and then you control handles everything from selecting the provider all the way to giving us the token back?

This could save a TON of time and really give your tool set a leg up on, well, everyone!

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Feb 2018
14 answers
1.1K+ views

Is there a way i can make PullToRefresh a command in my viewmodel?

Or is there another way to make it more MVVM?

Lance | Senior Manager Technical Support
Telerik team
 answered on 14 Feb 2018
3 answers
474 views

Hi,

I am developing an X.F. app using MVVM. In my view model I would like to know which tab is selected so I would like to bind the selected tab. I could bind the SelectedItem property but I don't want my view model to have dependency's to Telerik since the view model should have no knowledge about the view. There is no selected index property or something. How can my view model know what tab is selected and how can I set it from the view model without dependency's on Telerik?

Best Regards,
Michel Moorlag

Stefan Nenchev
Telerik team
 answered on 14 Feb 2018
2 answers
53 views

I have two collections of int/datetime which I want to stack in an area diagram. Therefore I am using Combinemode="Stack" in my area series and on iOS this works very nice. See screenshot 1. But on Android the result is draw incorrect. See screenshot 2. Is this a bug or is there something wrong with my code?

This part is the code for the chart:

                            <telerikChart:RadCartesianChart SelectionPaletteName="Light" x:Name="chart" VerticalOptions="FillAndExpand">
                                <telerikChart:RadCartesianChart.HorizontalAxis>
                                    <telerikChart:DateTimeContinuousAxis LabelFormat="dd" GapLength="0.3" PlotMode="OnTicks" MajorStepUnit="Day" MajorStep="1" />
                                </telerikChart:RadCartesianChart.HorizontalAxis>
                                <telerikChart:RadCartesianChart.VerticalAxis>
                                    <telerikChart:NumericalAxis Minimum="0"/>
                                </telerikChart:RadCartesianChart.VerticalAxis>
                                <telerikChart:RadCartesianChart.Series>
                                    <telerikChart:AreaSeries ItemsSource="{Binding CowsMilked}" DisplayName="Milked" CombineMode="Stack" Fill="LightCoral">
                                        <telerikChart:AreaSeries.ValueBinding>
                                            <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
                                        </telerikChart:AreaSeries.ValueBinding>
                                        <telerikChart:AreaSeries.CategoryBinding>
                                            <telerikChart:PropertyNameDataPointBinding PropertyName="Date"/>
                                        </telerikChart:AreaSeries.CategoryBinding>
                                    </telerikChart:AreaSeries>
                                    <telerikChart:AreaSeries ItemsSource="{Binding CowsRejected}" DisplayName="Rejected" CombineMode="Stack" Fill="LightSkyBlue">
                                        <telerikChart:AreaSeries.ValueBinding>
                                            <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
                                        </telerikChart:AreaSeries.ValueBinding>
                                        <telerikChart:AreaSeries.CategoryBinding>
                                            <telerikChart:PropertyNameDataPointBinding PropertyName="Date"/>
                                        </telerikChart:AreaSeries.CategoryBinding>
                                    </telerikChart:AreaSeries>                                
                                </telerikChart:RadCartesianChart.Series>
                            </telerikChart:RadCartesianChart>

Ves
Telerik team
 answered on 13 Feb 2018
1 answer
284 views

After reading and following your examples on customizing the style of your controls I am more confused than ever.

1. Why do I need a RadResourceDictionary? Isn't a regular ResourceDictionary sufficient?

2. After changing my App.xaml to RadResourceDictionary I get runtime errors that the Telerik style keys already exist in the dictionary.

Below is what I have. Please help and I desperately need to change your default colors to match my design.

<?xml version="1.0" encoding="utf-8" ?>
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
             xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             x:Class="Mobile.App">
    <Application.Resources>
        <telerikCommon:RadResourceDictionary>
            <telerikCommon:RadResourceDictionary.MergedDictionaries>
                <!--<ResourceDictionary MergedWith="telerikCommon:BlueResources">
                    --><!-- ListView --><!--
                    <Color x:Key="ListViewItemBorderColor">Orange</Color>
                    <Color x:Key="ListViewSelectionColor">Orange</Color>
                    <Color x:Key="ListViewBackgroundColor">Black</Color>
                    <Color x:Key="ListViewForegroundColor">Orange</Color>
                    <Color x:Key="ListViewSelectionBackgroundColor">Black</Color>
                </ResourceDictionary>-->
 
                <ResourceDictionary MergedWith="telerikInput:TelerikThemeStyles">
                    <!-- MaskedInput -->
                    <Color x:Key="MaskedInputBorderColor">Red</Color>
                    <Color x:Key="MaskedInputWatermarkColor">#919191</Color>
                    <Color x:Key="MaskedInputErrorColor">#D50002</Color>
                    <Color x:Key="MaskedInputDisplayedTextColor">#4A4949</Color>
                </ResourceDictionary>
                <!--<ResourceDictionary MergedWith="primitives:TelerikThemeStyles"/>
                <ResourceDictionary MergedWith="chart:TelerikThemeStyles"/>
                <ResourceDictionary MergedWith="telerikDataControls:TelerikThemeStyles" />
                <ResourceDictionary MergedWith="dataGrid:TelerikThemeStyles"/>-->
            </telerikCommon:RadResourceDictionary.MergedDictionaries>
        </telerikCommon:RadResourceDictionary>
    </Application.Resources>
</Application>
Stefan Nenchev
Telerik team
 answered on 13 Feb 2018
16 answers
142 views

Hi,

I'm now using 25.3.1 android support libraries and I'm getting a lot of XA0106 warnings. See this thread for clarification: https://forums.xamarin.com/discussion/89661/a-lot-of-warnings-appear-in-a-new-empty-xamarin-forms-xaml-project

Can you provide the Xamarin UI nugets compiled with 25.3.1 android support libraries? Perhaps in a different feed?

 

Thanks,

Tim

Lance | Senior Manager Technical Support
Telerik team
 answered on 13 Feb 2018
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?