Edit: RadTabView also leaks. Attached new sample app.
We have found leaks in these controls. I have attached a sample app that demonstrates the problem.
I have logged a support ticket but is anyone else experience similar leaks with these controls?
From the included readme.md:-
Memory leaks when using
Hi,
i have a scenario where I as loggedIn user belongs to some Organization and in UsersView I can see all users and also one of the columns is Organization. I would like to set filter of this column to same Organization as Im in. So I see only users from my organization by default.
so my question is how to set this filter from code or can i somehow bind it from xaml to some property ?
I am trying to get the background color for the RadDatePicker to be white. It is picking up a color that I am unaware of specifying ( read I did not do it intentionally :-) )
I found general styling instructions for the controls that indicated the proper way would be to create a style...
<Style TargetType="Label" x:Key="DateDisplayLabelStyle">
<Setter Property="TextColor" Value="#007A53"/>
<Setter Property="BackgroundColor" Value="White"/>
</Style>
I am unsure how to get the lighter green color set to white. I did not see a name for this part of the control in the documentation.
Thanks
-Sean
I'm trying to build a donet maui app but when it try to run the project in ios emulator i get this error, i don't know what to do (only happens for emulator, can run the project to ios devices)
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/targets/Xamarin.Shared.Sdk.targets(1276,3): error : clang++ exited with code 1: [/Users/carminamoreno/Documents/LosAlamosMAUI/Los Alamos MAUI/AppPedidosMobile/AppPedidosMobile.csproj::TargetFramework=net7.0-ios]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/targets/Xamarin.Shared.Sdk.targets(1276,3): error : ld: warning: ignoring duplicate libraries: '-lSystem.IO.Compression.Native', '-lSystem.Native', '-lSystem.Net.Security.Native', '-lSystem.Security.Cryptography.Native.Apple', '-lc++', '-lmono-component-debugger', '-lmono-component-diagnostics_tracing', '-lmono-component-hot_reload', '-lmonosgen-2.0', '-lxamarin-dotnet-debug', '-lz' [/Users/carminamoreno/Documents/LosAlamosMAUI/Los Alamos MAUI/AppPedidosMobile/AppPedidosMobile.csproj::TargetFramework=net7.0-ios]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/targets/Xamarin.Shared.Sdk.targets(1276,3): error : ld: building for 'iOS-simulator', but linking in object file (/Users/carminamoreno/Documents/LosAlamosMAUI/Los Alamos MAUI/AppPedidosMobile/obj/Debug/net7.0-ios/iossimulator-arm64/linker-cache/TelerikUI.a[arm64][2](TKChartAnnotation.o)) built for 'iOS' [/Users/carminamoreno/Documents/LosAlamosMAUI/Los Alamos MAUI/AppPedidosMobile/AppPedidosMobile.csproj::TargetFramework=net7.0-ios]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/targets/Xamarin.Shared.Sdk.targets(1276,3): error : clang: error: linker command failed with exit code 1 (use -v to see invocation) [/Users/carminamoreno/Documents/LosAlamosMAUI/Los Alamos MAUI/AppPedidosMobile/AppPedidosMobile.csproj::TargetFramework=net7.0-ios]
In day view, is it possible to change the times from 24hr to 12hr AM/PM style?
I've tried setting the Culture and all that but no luck.
I wanted to know if there were any known issues with the ImageEditor on iOS? In the documentation it had examples on android and windows but nothing for iOS. And then i get the crash (Down below) stating a maui context issue.
~ Additional info
I have the ImageEditor in a 'mopup' page to act as a popup.
The styling on the editor is only affecting TextColor
simulator(built on x64) and physical devices
iOS 17
.NET8
<Grid Grid.Row="0">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadImageEditor
x:Name="imageEditor"
Padding="10" />
<telerik:RadImageEditorToolbar
Grid.Row="1"
AutoGenerateItems="False"
ImageEditor="{x:Reference imageEditor}">
<telerik:ImageEditorRotateLeftToolbarItem Style="{StaticResource buttonToolbarStyle}" />
<telerik:ImageEditorRotateRightToolbarItem Style="{StaticResource buttonToolbarStyle}" />
<telerik:ImageEditorUndoToolbarItem Style="{StaticResource buttonToolbarStyle}" />
<telerik:ImageEditorRedoToolbarItem Style="{StaticResource buttonToolbarStyle}" />
<telerik:ButtonToolbarItem
x:Name="SaveToolBar"
Clicked="OnSaveTapped"
IsEnabled="True"
IsVisible="True"
Style="{StaticResource buttonStyle}"
Text="Save" />
</telerik:RadImageEditorToolbar>
</Grid>
1st crash message
System.InvalidOperationException: 'Loading...'
follow up crash messages / detailed log
ObjCRuntime.ObjCException: 'Objective-C exception thrown. Name: System.InvalidOperationException Reason: MauiContext should have been set on parent. (System.InvalidOperationException)I am looking to set a custom tooltip on a ButtonToolbarItem. It appears the current tooltip only binds to the Text property.
Is there a way for me to change the ToolTipProperties.TextProperty binding?
I am trying to use the pie chart on my content page but it is not rendering. My XAML is:
<telerik:RadPieChart Grid.Row="0" x:Name="chart" HandlerChanged="chart_HandlerChanged">
<telerik:RadPieChart.BindingContext>
<vm:SystemStatsViewModel />
</telerik:RadPieChart.BindingContext>
<telerik:RadPieChart.Series>
<telerik:PieSeries ShowLabels="True"
RadiusFactor="0.8"
ValueBinding="Value"
ItemsSource="{Binding LoadChartItems}" />
</telerik:RadPieChart.Series>
</telerik:RadPieChart>
The view model returns sample data just to get the chart to render:
public ObservableCollection<LoadChartItem> LoadChartItems { get => new() {
new() { Category = "Test1", Value = 52 },
new() { Category = "Test2", Value = 19 },
new() { Category = "Test3", Value = 82 },
new() { Category = "Test4", Value = 23 }
};
}
There are other controls (labels, grids) on the page that render properly using the view model so I can rule out a bug in my view model. I have tried rendering the chart with and without the:
<telerik:RadPieChart.BindingContext>
<vm:SystemStatsViewModel />
</telerik:RadPieChart.BindingContext>
since the page references the SystemStatsViewModel in the bindingcontext. The control just never appears or throws an error of any kind. Any help or insights are appreciated.
Hi Telerik Team,
May I kindly ask you if I could use ListView control in .NET MAUI with already grouped structure data type? I guess I could flatten my object source model, but I am interested if it is possible to use below model with ListView control and grouping options?
I have a ViewModel with a property type of ObservableCollection<T> MyProperty where T defined as:
public class T : List<T1>
{
public string Name {get;set;}
public string Area {get;set;}
}
and T1 as below:
public class T1
{
public string Id {get;set;}
public string ImgURL {get;set;}
//..some other properties
}