We're getting these warnings during runtime on iOS (Telerik.UI.for.Maui 13.0.0):
Microsoft.Maui.Controls.LinearGradientBrush is already a child of Telerik.Maui.Controls.RadEffectsView. Remove Microsoft.Maui.Controls.LinearGradientBrush from Telerik.Maui.Controls.RadEffectsView before adding to Telerik.Maui.Controls.RadEffectsView.
Microsoft.Maui.Controls.SolidColorBrush is already a child of Telerik.Maui.Controls.RadBorder. Remove Microsoft.Maui.Controls.SolidColorBrush from Telerik.Maui.Controls.RadBorder before adding to Telerik.Maui.Controls.RadBorder.
App seems to run fine, but our logger (Sentry) gets flooded with warnings. Any way to resolve?
Hi Neil,
Could you please share what are the Telerik MAUI controls you use in the app? Also if possible if you can send a sample repro project in which the issue happens?
I assume the behavior happens in the border control, still cannot reproduce the warning on my side, so any further information and a project will be of help.
Thank you in advance.
We get the same things in the console. Running the app on Desktop
Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.LinearGradientBrush is already a child of Telerik.Maui.Controls.RadEffectsView. Remove Microsoft.Maui.Controls.LinearGradientBrush from Telerik.Maui.Controls.RadEffectsView before adding to Telerik.Maui.Controls.RadEffectsView.
Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.LinearGradientBrush is already a child of Telerik.Maui.Controls.RadEffectsView. Remove Microsoft.Maui.Controls.LinearGradientBrush from Telerik.Maui.Controls.RadEffectsView before adding to Telerik.Maui.Controls.RadEffectsView.
Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.LinearGradientBrush is already a child of Telerik.Maui.Controls.RadBorder. Remove Microsoft.Maui.Controls.LinearGradientBrush from Telerik.Maui.Controls.RadBorder before adding to Telerik.Maui.Controls.RadBorder.
(Note, we're still using v 11.0.1, will update in the future, but don't have time yet)
Hi,
Send me more details on which Telerik MAUI controls you are using in the app. Also if you can attach the xaml code of the page where the warnings appear.