I have a user who reported a crash. In Sentry, I see this:
System.NullReferenceException: Object reference not set to an instance of an object.
?, in void TelerikLicense.ShowLicenseMessage(Page page)
?, in void TelerikLicense.VerifyLicense(Element element)+() => { }
?, in void TelerikLicense.ExecuteActionOnLoaded(Page page, Action action)
?, in void TelerikLicense.VerifyLicense(Element element)
?, in object <InitializeComponent>_anonXamlCDataTemplate_21.LoadDataTemplate()
?, in object ElementTemplate.CreateContent()
?, in void BindableLayoutController.CreateChildren()
?, in NotifyCollectionChangedAction NotifyCollectionChangedEventArgsExtensions.Apply(NotifyCollectionChangedEventArgs self, Action<object, int, bool> insert, Action<object, int> removeAt, Action reset)
?, in void BindableLayoutController.ItemsSourceCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
?, in void WeakNotifyCollectionChangedProxy.OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
File "ObservableCollection.cs", line 192, in void ObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
handler(this, e);
?, in void ExtObservableCollection<T>.RaiseCollectionChanged()
the app was built with a successful license-check
Telerik.Licensing 1.6.6
Provide an AI assistant for code generation with the Telerik MAUI controls.
Telerik Blazor released such assistant https://www.telerik.com/blazor-ui/documentation/ai/overview
Hello,
Is it planned to eventually ensure that platform theme changes at runtime properly convert controls over from light to dark and vice versa? Currently in Windows and Android (all that I tested so far), the controls either remain dark when changing to the light theme or end up in a sort of half and half state and don't completely change to the appropriate theme during runtime. If the app is closed and reopen, they are rendered properly.
Thank you
I noticed there is a Toggle Button available, but the Toggle Switch Button that is available for WPF is not yet available for MAUI.
Please consider adding such button for .NET MAUI suite.
When adding Telerik controls on the page and run the app on android, the following error message occurs runtime:
Java.Lang.RuntimeException stack trace --- java.lang.RuntimeException: Font asset not found /data/user/0/com.companyname.appname/cache/telerikfont.ttf at android.graphics.Typeface.createFromAsset(Typeface.java:1061)
............
This error message does not prevent the app from working as expected, but the log is full of this message.
as per the instruction here : https://docs.telerik.com/devtools/maui/demos-and-sample-apps/overview#sdkbrowser-app
files - SwitchToNet8.ps1
and SwitchToNet9.ps1 does not exists in repository
When using Telerik controls, I got the following warning:
Not linking with the framework OpenGLES referenced by a module reference in SkiaSharp.Views.iOS.dll
when I add a SkiaSharp 3.116.1 version to the project, the warning disappear.
Please update the SkiaSharp package reference in the Telerik MAUI NuGet package
Dear Telerik-Team
with the new version 9.0.0 on Android the Scheduler doesn't display the Date/Timepicker on creating/editing an new appointment. The Date/Timepicker Popup is only displayed when the "EditAppointmentDialog" is closed. You can easy reproduce it. Just add the Scheduler to a plain project.
I have attached a VS solution where you can reproduce it.
Thanks for helping/fixing it as soon as possible. I need this new version becasue of another bugfix for scheduler in it...
When creating a .NET MAUI blank net 9 template and adding for example PDF toolbar, the toolbar icons do not display as the app is build as unpackaged.
Solution:
Change the package type in the .csproj file:
from:
<WindowsPackageType>None</WindowsPackageType>
to:
<WindowsPackageType>MSIX</WindowsPackageType>
"System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Maui.Controls.Compatibility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'"
Occurs when creating a blank .net maui project using .net9 and adding Telerik MAUI NuGet Package latest version 8.0.0
Repro steps:
1. Create a new dotnet9 basic project in visual studio. 2. Launch it on windows. it runs. 3. Add the Telerik.UI.for.Maui.Trial package, version 8. (don't bother adding the UseTelerik line to MauiProgram.cs, it'll fail either way). 4. Clean and Rebuild the solution. 5. Debug the app on windows again. It fails on launch with a file not found error that seems to relate to: "Exception thrown: 'System.IO.FileNotFoundException' in Telerik.Maui.Controls.Compatibility.dll" System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Maui.Controls.Compatibility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'
In most situations, the Segmented control is working as expected but it seems that it uses an optimization that is making it not to show the currently selected item in the UI.
In my page I have a list of items that are shown or hidden according to what the user selects.
Each item has a template and there is a template using the Segmented control.
If in the 1st item of the list I select the first tab in the segmented control, refresh the list, and select the 2nd tab of the first item in the new list,
everything work fine, I can switch between the lists and everything is ok.
But if I select the same tab, after I switch the content of the list, even having SelectedIndex, SelectedItem and ItemSource correct, it doesn't display the selected tab.
I tried a lot, calling OnPropertyChanged in many places, using SelectedItem, SelectedIndex, both.
No way for it to work.
It seems like an optimization that doesn't redraw the selected item by mistake if it is equal in value to the previous one.
For you to better understand our case, the page is a row of a table, where the user scroll through rows of this table.
If in the 1st row he selects the 1st tab and in the 2nd row too, if he tries to move back to row 1, the displayed tab is not shown.
Thanks in advance,
Jones Abramoff