Using iOS Simulator (set to iPhone 15 iOS 17.4) - with a DataGrid as below, double-clicking the text cell will crash the app. I have not yet tried on a native device build (not simulator.)
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="ObjectName" HeaderText="Name"/>
</telerik:RadDataGrid.Columns>
Microsoft Visual Studio 2022 v17.9.6
Microsoft.Maui.Controls 8.0.21
Full Stack Trace:
Runtime exception with Microsoft .NET 8.0.100:
*** NSForwarding: warning: object 0x600002199c20 of class 'Telerik_Maui_Controls_Compatibility_ChartRenderer_iOS_TKExtendedChart' does not implement methodSignatureForSelector: -- trouble ahead
*** NSForwarding: warning: object 0x600002199c20 of class 'Telerik_Maui_Controls_Compatibility_ChartRenderer_iOS_TKExtendedChart' does not implement doesNotRecognizeSelector: -- abort
The issue occurs on:
Nuget - Telerik.UI.for.Maui 6.7.0
Maui Version 8.0.7
.NET SDK 8.0.100
Simulator - iOS 16.4 and 17.2 (Version 15.2 -1019)
Best regards
When the Source of a RadRichTextEditor is set, the TextColor is always black. Tested on Android:
<Grid HeightRequest="400"
WidthRequest="300">
<telerik:RadRichTextEditor x:Name="RichTextEditorControl"
Source="with source text"
TextColor="White"
BackgroundColor="Green" />
</Grid>
I have an html file with <img src="./images/ForkliftGateMainPage.png" alt="MainPage" width="1600" title="Page principale" />
The image is displayed when I open it with my browser, but not displayed with RadRichtextEditor, Why ?
When I compile my project with <WindowsPackageType>None</WindowsPackageType> option, icons ar enot displayed in Telerik controls (like richeditor)
Same project compiled with package and deployed are ok
Repro steps:
Put a grid inside a RadBusyIndicator with a button. On a button click, set IsBusy to true, change the height of the grid, and set IsBusy to false. The grid height will not be updated.
Another way to reproduce is to add children views to the grid while IsBusy is true. The children will not be rendered after it's done
This is a regression from a recent Telerik update
I would like a control to handle Currency that works with the UICulture
In the US it would show the input as $ ____.00. or ____.00 (USD) based on UICulture
in other countries it would show the currency symbol based on the UICulture
This control should work will all other controls such as grid column input
I have three RadDataForms in my login workflow. I have tried all of the various CommitModes and ValidationModes to prevent this error, but nothing seems to prevent these errors from manifesting.
I have a data form that has two fields: Username and Password. When this form is FIRST displayed, what appears to be validation errors (formatted error log output):
---------------------------------- 2023-04-26 09:22:18.9231 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ---------------------------------- ---------------------------------- 2023-04-26 09:22:18.9330 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ----------------------------------
Then, I have a different RadData form that has five fields, First Name, Second Name, Email Address, Password and Password Confirmation. This leads to:
---------------------------------- 2023-04-26 09:22:46.6821 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ---------------------------------- ---------------------------------- 2023-04-26 09:22:46.6821 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ---------------------------------- ---------------------------------- 2023-04-26 09:22:46.7018 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ---------------------------------- ---------------------------------- 2023-04-26 09:22:46.7018 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ---------------------------------- ---------------------------------- 2023-04-26 09:22:46.7174 WARN Call site: BindingDiagnostics.SendBindingFailure Method name: Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.SendBindingFailure Line: 0 Exception Type: Exception Message: Stack Trace: Additional Info: '(null)' cannot be converted to type 'System.Boolean' ----------------------------------
These errors are all encountered on the form's first load. Nothing has been entered into any field. No call to any validation methods is made.
Here is how my general data form configuration is done:
<telerik:RadDataForm
x:FieldModifier="public"
x:Name="SignUpForm"
Grid.Row="0"
CommitMode="Explicit"
Loaded="SignUpFormOnLoaded"
Margin="0,5,0,0"
Style="{StaticResource DataFormStyle}"
ValidationMode="Explicit">
I have attached the three classes I use as the binding context. I have tried None, Explicit, and LostFocus as settings for the two modes and it has no effect. While these errors look harmless and the form does provide error-checked data upon validation, I simply hate having any unnecessary errors in my log files.
What can I do to prevent these errors?
Thanks!
Steve
Hello,
I'm using an horizontal listview, it's working well. But when I put in in a RadDocklayout, nothing is displayed. What am I doing wrong ?
See attached project.
Other question : is it possible to have cell fitting to the text inside the listview (ItemLength="*") ?
Regards
I don't have definitive proof on when it started but I did update my Telerik.UI.for.Maui NuGet package from Trial to an official licensed version and that is when I started to see bizarre behavior for the ButtonToolbarItem control. Suddenly, NO FONT ICONS show! Also, in my log file, I see this:
Unable to load font 'TelerikFont'.
I don't have this font installed in my Maui Resources\Fonts folder nor do I load it in my MauiProgram ConfigureFonts extension method for the MauiApp builder. It was working until two days ago.
I turned on BLAST mode in my debugger where I was seeing exceptions being thrown all over the place with regard to loading fonts. I am up against a crucial investor funding demo so I do not have the time to dig down to the core of this issue at the moment. This issue I am logging is there for you to ask me questions on things I can verify so we can work on this together.
What are some of the things you need me to do or look at to report back... The fact that NONE of my FontImageSource icons are being displayed in my RadToolBar ButtonToolbarItems is suspect. The reporting of the TelerikFont is even more suspect. I wasted a TON of valuable time today trying to find a workaround, but none could be found. GitHub Copilot and ChatGPT kept giving me bogus answers for properties on your controls that don't exist which only exacerbated my frustration. I tried to use PNG files as the icon, but your ButtonToolbarItem image source only allows font image sources which I think is a very bad design decision on your behalf. What if a font does not provide the correct image I wish to display? You really should allow png images to be used on these buttons!!!
Like I said, it was working up until several days ago...
Thanks, Steve
What is the best way to load a byte[] (which is a jpeg file) in the ImageEditor.
Ideally I want to transform the byte[] to a Bitmap (easy), for storage purpose
using Stream stream = new MemoryStream(e.Buffer);
using Bitmap image = new Bitmap(stream);
And then display the bitmap, but I don't know how totransform it to an ImageSource.
Regards.
Is it possible to use GestureRecognizers in ImageEditor ? I tried this, but OnImageTapped is not called.
<?xml version="1.0" encoding="utf-8" ?>
<ContentView 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"
xmlns:versares="clr-namespace:SharedResources;assembly=SharedResources"
x:Class="PalletGate.Views.SingleEditor">
<Grid ColumnDefinitions="*">
<telerik:RadImageEditor x:Name="imageEditor1"
MinZoomLevel="0.1"
MaxZoomLevel="20"
Grid.Column="0"
>
<telerik:RadImageEditor.GestureRecognizers>
<TapGestureRecognizer Tapped="OnImageTapped" />
</telerik:RadImageEditor.GestureRecognizers>
</telerik:RadImageEditor>
</Grid>
</ContentView>
Code behind :
private void OnImageTapped(object sender, TappedEventArgs e) {
If I uncomment "HorizontalStackLayout", the image is not displayed.
I want to display 2 Imageeditor in the same tabview, how to do this ?
<telerik:RadTabView
telerik:RadDockLayout.Dock="Left"
x:Name="tabView" AutomationId="tabView"
HeaderPosition="Bottom"
>
<telerik:TabViewItem HeaderText="Face 1">
<!--<telerik:RadImageEditorToolbar ImageEditor="{x:Reference imageEditor}">
</telerik:RadImageEditorToolbar>-->
<!--<HorizontalStackLayout>-->
<telerik:RadImageEditor x:Name="imageEditor1"
MinZoomLevel="0.1"
MaxZoomLevel="20"
Source = "{Binding DisplayedPhoto, TargetNullValue={versares:ImageResource Images.palette.png}}"
/>
<!--<telerik:RadImageEditor x:Name="imageEditor2"
MinZoomLevel="0.1"
MaxZoomLevel="20"
Source = "{Binding DisplayedPhoto, TargetNullValue={versares:ImageResource Images.palette.png}}"
/>-->
<!--</HorizontalStackLayout>-->
</telerik:TabViewItem>
<telerik:TabViewItem HeaderText="Face 2">
<Label Margin="10" Text="This is the content of the Folder tab" />
</telerik:TabViewItem>
</telerik:RadTabView>
showing extra border before dropdown arrow in version 5.0.0 and higher. see below image
I'm getting a NullReferenceException when trying to display a RadDataGrid that has a column where one of the objects in the PropertyName "chain" is null. For example, in your Columns -> Columns Overview section of your sample SDK browser (SDKBrowserMaui.Examples.DataGridControl.ColumnsCategory.ColumnsExample.Columns.xaml) the data grid is bound to a list of Clubs. If you add this code to Club (With nothing else. Keep Manager null):
private Person _manager;
public Person Manager
{
get { return _manager; }
set { UpdateValue(ref _manager, value); }
}
and then add this column to the grid:
<telerik:DataGridTextColumn PropertyName="Manager.Name"
HeaderText="Manager"/>
Hello,
TL;DR version - I request that the IFontElement interface (from Microsoft.Maui.Controls.Internals) be implemented on all Rad type controls that display text.
Detailed Version:
The CommunityToolkit.Maui.Markup nuget package provides some really nice extension methods that allow quick and easy configuring of controls without verbosity. When using the toolkit along side Telerik UI every extension I have tried works really well except for .Font(). On all standard MAUI controls you can just call the .Font() extension method and don't need to create a Style and apply it to an underlying property just to set a font size - you just set the size with .Font() as shown below. The below example code snippet shows the normal use of the toolkit on a standard MAUI Label and a RadTimeSpanPicker from the Telerik UI MAUI package.
The above example yields the following error, as does calling .Font() on pretty much every other Radxxxx control. Telerik UI controls seem to work really well with all the other extension methods I have tried from the toolkit except the .Font() extension method.
The type 'Telerik.Maui.Controls.RadTimeSpanPicker' cannot be used as type parameter 'TFontElement' in the generic type or method 'ElementExtensions.Font<TFontElement>(TFontElement, string?, double?, bool?, bool?)'. There is no implicit reference conversion from 'Telerik.Maui.Controls.RadTimeSpanPicker' to 'Microsoft.Maui.Controls.Internals.IFontElement'.
It would seem that implementing IFontElement would solve this.
This would be a nice feature and very helpful to anybody using the toolkit with Telerik controls because they could be used the same way as standard MAUI controls.
I looked under the hood a little bit and I believe the interface could/should be implemented on something like RadContentView which seems to be where most interfaces are inherited/implemented, and controls like RadTimePicker inherit from parent controls that eventually inherit from RadContentView.