Hello,
When I used the RadCartesianChart and RadPieChart in MAUI with the sample code from https://docs.telerik.com/devtools/maui/controls/chart/types/pie-chart, the iOS simulator failed to open successfully, displaying a crash message. However, when I use RadButton and RadCheckBox, it works fine, so I can assure the successful configuration.
Visual Studio Community 2022 for Mac
version 17.5.7 (build 6)
Runtime
.NET 7.0.1 (64-bit)
Architecture: X64
Microsoft.macOS.Sdk 12.3.2372;
NuGet
version: 6.4.0.117
Maui: 7.0.86
Telerik.Ul.for.Maui.Trial -5.2.0
Please can you help me to solve this problem.
Best regards
handlers.AddHandler(typeof(Telerik.Maui.Controls.RadEntry), typeof(RadEntryCustomHandler));
for ANDROID I have this Handler
public partial class RadEntryCustomHandler : RadEntryHandler
{
protected override void ConnectHandler(RadMauiEntry nativeView)
{
try
{
nativeView.EditText.TextCursorDrawable.SetColorFilter(new PorterDuffColorFilter(Graphics.Color.White, PorterDuff.Mode.Darken));
}
catch { }
}
}
for IOS I have this Handler
public class RadEntryCustomHandler : RadEntryHandler
How to change the color of the following icon in a RadButton in code behind:
<telerik:RadButton Clicked="DoSomething"
ClassId="PhonePortrait"
x:Name="PhonePortrait"
BorderThickness="0"
BackgroundColor="Transparent"
HorizontalOptions="Center"
VerticalOptions="Center"
Margin="12,0,0,0"
WidthRequest="32"
HeightRequest="32">
<telerik:RadButton.ImageSource>
<FontImageSource FontFamily="IonIcons" Glyph="" Color="#999999" Size="28"/>
</telerik:RadButton.ImageSource>
</telerik:RadButton>
Hello everyone, I write this post in the hope that someone can help me with this problem.
I'm newbie with this MAUI framework. I'm trying to create a simple Android / iOS application but I'm experiencing navigation performance issues.
Whenever I navigate to a page with more "heavy" information, the UI simply freezes until the information is loaded. For example if I use a ListView with only 13 elements the UI freezes for at least one/two seconds, this in release mode cannot be acceptable. I tried to put a Busy Indicator to simulate the loading of the page but it freezes until the information is loaded. It is a very bad user experience.
All my services are running on background threads. I'm currently using Telerik components and I'm also using Shell and the CommunityToolkit.Mvvm package.
On Windows the application works perfectly, without any problem but on Android it is very bad.
I've looked everywhere for a solution. I found some similar problems and most of the proposed solutions were to avoid ListViews nested in scroll views and so on, I already checked all that but nothing changed.
Has anyone here ever faced a problem like this? If yes, how did you manage to solve it?
Thank you in advance for your attention!
Hi I have attached my sample application where I've been trying out the RadDataForm and the behaviour seems inconsistent.
I have a few scenarios where the validation and commit modes are behaving differently to how the docs suggest they should. I have laid them out in the XAML for MainPage to make it easy for you to test.
Scenario 1 - Form level settings:
When I apply ValidationMode="LostFocus" to the whole form it still validates on property changed, UNLESS I also set CommitMode to LostFocus. You can test this by uncommenting each option in my MainPage.xaml file. The Name field will validate as soon as you start typing.
Scenario 2 - Control level settings:
ValidationMode="LostFocus" on the control level only doesn't seem to work at all, even with commit = lost focus.
In order to get my form to behave how I want, I have to set the form level validation AND commit to "LostFocus", however this now introduces another issue. The datepickers don't set their values on LostFocus (because I don't think they get focus since they use a popup), and with the form overriding it, it also doesn't commit the value on property changed, even if I set it on the individual datepicker control. Which means if I have any custom validation around these properties, it won't work properly because the values have not been set.
In my case I wrote a custom validator to check that StartDate is always before EndDate. If the form is set up with no options, this works correctly, but if I add LostFocus so that my RadEntries behave correctly, when my validator fires for the dates, the value of EndDate is always not set. I have to manually commit it with form.CommitChanges.
This doesn't seem like correct behaviour, unless I'm misunderstanding the docs.
Any help would be appreciated :)
I have a listview using templatecells.
With android API >= 31, everything looks fine (default background is transparent)
On androd API 28, the background defaults to white, you can manually set it to other colors which work, but if set to transparent, the background stays white
Hi,
I'm using the RadComboBox and the behaviour is different between iOS and Android.
On iOS, when I click on the field the dropdown opens, but on Android it will only open if I click on the arrow icon. Clicking in the middle of the control does nothing.
Using EditMode works and the control opens when it gets focus, but I don't want to use Edit mode.
Is this correct? It seems inconsistent with the other telerik controls I'm using like DatePicker where clicking anywhere on the control opens the picker / popup.
Thanks!