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:
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
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 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
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"/>
showing extra border before dropdown arrow in version 5.0.0 and higher. see below image
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>
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) {
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.
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 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 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>