Telerik Forums
UI for Xamarin Forum
4 answers
138 views

Hi Team,

I am using RadCalendarView for Xamarin and I want to disable a specific date. In the there is min and max which will disable the dates before min and after max. I want the whole calendar to be functional but just one date to be disabled for e.g. I want to disable 31st January 2019.

Andy
Top achievements
Rank 1
Veteran
 answered on 03 Nov 2020
1 answer
207 views
I see I've got agenda, day, and multi day view settings; in any of those I can set the disabled days. How can I set disabled days on a month view of the calendar? Unfortunately, multi day doesn't work.
Yana
Telerik team
 answered on 03 Nov 2020
1 answer
176 views

I have an Autocomplete control that is bound to an ObservableCollection of my view search result view models. However, when I update the collection (clear it and add each result) the control only shows the "No Results Found" message.

I'm not using any code behind for this, I have a Behavior that handles the TextChanged event which calls an ICommand on my view model to update the list of results. I've posted the code for my view below, if you need more context I can provide the Behavior or View Model code as well.

View

<telerikInput:RadAutoCompleteView Grid.Row="0" ItemsSource="{Binding RetailerSearchResults, Mode=TwoWay}">
                <telerikInput:RadAutoCompleteView.Behaviors>
                    <sharedBehaviors:TelerikAutoCompleteTextChangedBehavior Command="{Binding RetailerSearchTextChangedCommand}" Timeout="1000" />
                </telerikInput:RadAutoCompleteView.Behaviors>

                <telerikInput:RadAutoCompleteView.SuggestionItemTemplate>
                    <DataTemplate x:DataType="{x:Type viewModels:RetailerListItemViewModel}">
                        <ViewCell>
                            <Label Text="{Binding DisplayName}"></Label>
                        </ViewCell>
                    </DataTemplate>

                </telerikInput:RadAutoCompleteView.SuggestionItemTemplate>
            </telerikInput:RadAutoCompleteView>

 


Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Nov 2020
1 answer
300 views

Hi,

I have most recently added the LoadOnDemand support for my RadListViews in my Xamarin project. For the android part everything works nicely and as expected, but the iOS site really shows some strange behavior.

So only on iOS, when the list is initially displayed, almost all groups are still expandable/collapsable, but only the very last group is not. The "Load more" info is not shown at all even if it should be displayed. When I select the group header of the last group the "Load more" info is displayed. But in this case the default LoadingOnDemandItemTemplate and LoadOnDemandItemTemplate is used, not my one.

Since the list is in a child navigation page I can go back to the parent and navigate again to the child page. After selecting the last group header my LoadingOnDemandItemTemplate  and LoadOnDemandItemTemplate are used.

And to make it even more complicated, when the last group of the list comes into the viewable area the PullToRefresh does not work anymore. Even after scrolling back to the beginning of the list the PullToRefresh is still disabled.

 

My RadListView definition:

<telerikDataControls:RadListView x:Name="errorListViewPortrait"
                        Grid.Row="0" Grid.Column="0" Margin="0"
                        FilterDescriptors="{Binding ErrorFilter, Mode=OneWayToSource}"
                        GroupDescriptors="{Binding ErrorGrouping, Mode=OneWayToSource}"
                        ItemsSource="{Binding Errors, Mode=TwoWay}"
                        IsPullToRefreshEnabled="True" SelectionMode="None" IsPullToRefreshActive="{Binding IsLoading}"
                        ItemTemplate="{StaticResource touroperatorActivityErrorsTemplate}"
                        HeaderTemplate="{StaticResource errorDataListHeaderTemplate}"
                        GroupHeaderTemplate="{StaticResource dataListGroupHeaderTemplate}"                        
                        LoadOnDemandItemTemplate="{StaticResource dataListLoadOnDemandMoreTemplate}"
                        LoadingOnDemandItemTemplate="{StaticResource dataListLoadOnDemandLoadingTemplate}"
                        IsLoadOnDemandEnabled="{Binding HasMoreData, Mode=OneWay}" IsLoadOnDemandActive="{Binding OnDemandLoading, Mode=OneWay}" LoadOnDemandMode="Manual">
                <telerikDataControls:RadListView.LayoutDefinition>
                  <telerikListView:ListViewLinearLayout VerticalItemSpacing="2" GroupHeaderLength="{x:OnPlatform iOS=30, Android=-1, UWP=-1}"/>
                </telerikDataControls:RadListView.LayoutDefinition>
                <telerikDataControls:RadListView.Commands>
                    <telerikListViewCommands:ListViewUserCommand Id="PullToRefreshRequested" Command="{Binding RefreshErrors}"/>
                    <telerikListViewCommands:ListViewUserCommand Id="LoadOnDemand" Command="{Binding LoadItemsOnDemand}" />
                </telerikDataControls:RadListView.Commands>
            </telerikDataControls:RadListView>

 

Since it is hard to describe the strange behavior by words I could sent some images of the app if needed.

I am using the most recent Telerik nuget package 2020.3.1022.1 and xamarin.forms 4.8.0.1560

 

Any help would be appreciated.

 

Regards,

Michael

 

Yana
Telerik team
 answered on 29 Oct 2020
1 answer
92 views

Hi,

how to achieve in Android Chart same effect as iOS TKChartNumericAxis Offset (https://docs.telerik.com/devtools/xamarin/nativecontrols/ios/chart/axes/numeric), which allows to set at which point Axes should cross, for example @0:0

Regards,

Rodrigo

Didi
Telerik team
 answered on 28 Oct 2020
5 answers
356 views

Sorry if this is a real newbie question...

How do I use RichTextEditor with MVVM?  I'm not using an MVVM implementation (Fresh, etc.), I just want to bind the text (html) of the control to my view model but I'm stumped.  Thanks.

Ivan
Telerik team
 answered on 28 Oct 2020
3 answers
81 views

Hi,

using com.telerik.widget.dataform.visualization.RadDataForm in Xamarin Native Android app.

By Default, DataFormDateEditor has Date Format "MMM dd, YYYY" and First day of the week is Sunday.

How can I change date format to dd.MM.YYYY and First Day of the week to Monday?

Setting Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture seems not to have any effect...

Regards,

Rodrigo

Yana
Telerik team
 answered on 28 Oct 2020
2 answers
140 views

Hi,

 

I'm trying out the RichTextEditor and have a very simple implementation:

<telerikPrimitives:TabViewItem HeaderText="Notes">
    <telerikPrimitives:TabViewItem.Content>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <telerikRichTextEditor:RadRichTextEditorToolbar x:Name="richTextToolbar" Grid.Row="0"
                                                            RichTextEditor="{x:Reference PracticeNotes}" />
            <telerikRichTextEditor:RadRichTextEditor x:Name="PracticeNotes" Grid.Row="1" />
        </Grid>
    </telerikPrimitives:TabViewItem.Content>
</telerikPrimitives:TabViewItem>

 

This works find on IOS and Android, but generates an unhandled exception in UWP with the message:

    Invalid URI: The URI scheme is not valid.

I have had no success in debugging it.  Thoughts?

 

Larry
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 25 Oct 2020
1 answer
91 views

Hi,

is it possible somehow to decorate Enum values so it would display multiple words in the dropdown?

 

Something like this:

public enum MyList
{
Black,
White,
[Description("Rather Not Say")]

Unknown
}

 

Regards,

Rodrigo

Yana
Telerik team
 answered on 23 Oct 2020
13 answers
1.1K+ views

Hello! Team,

I have downloaded the Progress COntrol panel after signing up for trial. I installed it. But the checkbox for installing Telerik UI for Xamarin is disabled. So I'm not able to install Telerik UI for Xamarin Please see the print screen. The error message says: 'Requires VIsual studio with Xamarin Support or Xamarin studio"

On my system I have Visual studio 2019 community edition with mobile application development workload installed, the following are already present on my system and I'm developing Xamarin Forms application actively:

Please suggest what is missing and what i can do.

The following is installed on my PC:

Microsoft Visual Studio Community 2019
Version 16.1.5
VisualStudio.16.Release/16.1.5+29025.244
Microsoft .NET Framework
Version 4.7.03062

Installed Version: Community

Azure App Service Tools v3.0.0   16.1.429.50124
Azure App Service Tools v3.0.0

C# Tools   3.1.1-beta4-19281-06+58a4b1e79aea28115e66b06f850c83a3f1fcb6d3
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus   1.1.77 (master@24013d5)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   16.1.1 (2473f22)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   5.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

Visual Basic Tools   3.1.1-beta4-19281-06+58a4b1e79aea28115e66b06f850c83a3f1fcb6d3
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.4 for F# 4.6   16.1.0-beta.19253.3+42526fe359672a05fd562dc16a91a43d0fe047a7
Microsoft Visual F# Tools 10.4 for F# 4.6

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   16.1.0.545 (d16-1@db7c858e8)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   16.1.0.418 (remotes/origin/d16-1@5b958bb10)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   16.2.112 (4db4af4)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   9.3.0.23 (HEAD/d0b48056f)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: mono/mono/2018-08@3a07bd426d3
    Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
    LibZipSharp: grendello/LibZipSharp/d16-1@44de300
    LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
    ProGuard: xamarin/proguard/master@905836d
    SQLite: xamarin/sqlite/3.27.1@8212a2d
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26


Xamarin.iOS and Xamarin.Mac SDK   12.10.0.157 (6bd9475)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Yana
Telerik team
 answered on 22 Oct 2020
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?