Telerik Forums
UI for .NET MAUI Forum
1 answer
222 views

I along with a few other people have made requests for an official RadGridPager for Maui and I just noticed a fresh post regarding this so wanted to post the code I have created.

This is a super simple and probably bug ridden but its working for my purposes so far.

If someone has a better implementation please post would love to use it.

Max
Top achievements
Rank 1
Iron
 updated answer on 03 Jan 2023
1 answer
175 views

Hallo,
I noticed TabViewItem (with property IsEnabled set to "False") is still clickable and its content is presented - but should not be :-(

Sample:

<telerik:RadTabView x:Name="TabbedView"
                            HeaderPosition="Bottom"
                            SelectedIndex="{Binding SelectedTab}">
            <telerik:TabViewItem HeaderText="Tab 1"
                                 ImageSource="tags.png">
                <Label VerticalOptions="Center"
                       HorizontalOptions="Center">Page 1</Label>
            </telerik:TabViewItem >
            <telerik:TabViewItem HeaderText="Tab 2"
                                 ImageSource="tags.png">
                <Label VerticalOptions="Center"
                       HorizontalOptions="Center">Page 2</Label>
            </telerik:TabViewItem >
            <telerik:TabViewItem HeaderText="Disabled"
                                 IsEnabled="False"
                                 ImageSource="tags.png">
                <Label VerticalOptions="Center"
                       HorizontalOptions="Center">Disabled</Label>
            </telerik:TabViewItem >
        </telerik:RadTabView>

Do you have any recommendation - how to handle with this issue?

Thanks for help,
Aleksandra Wasacz

Didi
Telerik team
 answered on 30 Dec 2022
1 answer
984 views

I have JSON datasource which I need to bind to Itemsource property of Datagridview. I cannot have class into which deserialization can be done because JSON datasource can have different attributes evertime which makes it impossible to have hard coded classes for deserialization.

Let me know if JSON datasource can be binded directly based on data and also Searching and Sorting should work in the grid.

Datagrid is for .net MAUI platform targetting Android and IOS development

Deyan
Telerik team
 answered on 26 Dec 2022
1 answer
489 views

Is there a way to use `RadTabView` in an MVVM and handle navigation properly? Right now, `RadTabView` takes a View which makes it hard to change using Page-based content.

We have an implementation using TabbedPage but the issue is that the bar itself is not customizable (that I'm aware of) so I'd like to use `RadTabView` as a replacement if possible.

Lance | Senior Manager Technical Support
Telerik team
 answered on 19 Dec 2022
1 answer
487 views

For our project, we are using RadSideDrawer to load content views in MainContent and Flyout items in Drawer.

For UI development, it seems Xaml Live preview is the only option for developers to verify the UI while coding.

Somehow, we are not able to use Xaml Live Preview while using RadSideDrawer.

This means the content within the Radsidedrawer is not getting selected in XAML live preview.

Any solution/alternative?

Nikola
Telerik team
 answered on 13 Dec 2022
1 answer
203 views

The baseline alignment is offset by lowercase letters where a descender letter (g, j, y, p, q) is present. In the image below, you can see some fields are floating a little higher than others. This occurs in the header and body of the grid.

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Dec 2022
1 answer
325 views

In the example of the SideDrawer in the SDK, the page is integrated into a RadContentView. Is that necessary?
When using a ContentPage, the display of the MainContent is somewhat truncated.

What is the function of RadContentView? It is not a control and is therefore not found in the documentation.

Is there also a RadContentPage?

Didi
Telerik team
 answered on 09 Dec 2022
1 answer
329 views

I am currently creating my first project with Telerik Maui. In the MauiProgram.cs file, 3 lines are underlined in green.

"This call site is reachable on: 'Android' 21.0 and later. 'RadAppHostBuilderExtensions.UseTelerik(MauiBuilder)' is only supported on: 'Windows' 10.0.17763.0 and later"


is displayed as a warning message. The program compiles and runs without errors on Windows.

On Android I get the following error message:

System.TypeLoadException: 'Could not load type of field 'Telerik.Maui.TelerikFont:UsePlatformFontProperty' (84) due to: Could not load file or assembly 'Microsoft.WinUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=de31ebe4ad15742b' or one of its dependencies.'

Here is the code (The affected lines are marked in green) :

using Telerik.Maui.Controls.Compatibility;

namespace xxx;

public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
            .UseMauiApp<App>()
            .UseTelerik()
            .ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
                fonts.AddFont("ionicons.ttf", "IonIcons");
            });

        builder.Services.AddSingleton<MainPage>();
        builder.Services.AddTransient<PageList>();

        return builder.Build();
}
}

One of the advances of Maui over Xamarin is that only one code base is required for different platforms.
Does this also apply to the Telerik Maui Library?

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 06 Dec 2022
1 answer
918 views

Hi,

I created a project and referenced the following libraries:

I have imported namespace:

    xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"

and created a RadCheckBox like so:

<telerik:RadCheckBox x:Name="rcb" VerticalOptions="Center" />

When I run the application I get the following error:

 

Is there anything I am missing?

Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Dec 2022
1 answer
248 views

In my MAUI app I target 

  • net7.0   
  • net7.0-android
  • net7.0-ios

I'm building a custom control and when I try to use the telerik:RadButton I get the following when building for iOS

Cannot resolve type "http://schemas.telerik.com/2022/xaml/maui:telerik:RadButton"

See below code as an example, it works fine for other controls but not the button.

<?xml version="1.0" encoding="utf-8" ?>
<ContentView
	x:Class="MyApp.Control"
	xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
	xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
	x:Name="this">

	<StackLayout>
		<telerik:RadBusyIndicator BackgroundColor="Red" />
		<telerik:RadButton BackgroundColor="Red" Text="Hello" />
	</StackLayout>

</ContentView>

I've tried touse the Telerik namespace instead of the schema as well but no luck.

Richard
Top achievements
Rank 1
 updated question on 02 Dec 2022
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?