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.
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
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
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.
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?
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.
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?
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?
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?
In my MAUI app I target
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.