Telerik Forums
UI for .NET MAUI Forum
1 answer
53 views

I've noticed this issue after updating from Telerik UI version 6.5.0 to 6.8.0 on my iOS device. Before the update when copying and pasting this text: 

I get this result in version 6.5.0:

Image

 

And now in version 6.8.0 I get this:

Image

 

Duygu
Telerik team
 answered on 27 Mar 2024
1 answer
34 views
Does Image Editor Support TIFF files?
Martin Ivanov
Telerik team
 answered on 26 Mar 2024
2 answers
58 views

Hi!

I added RadCartesianChart inside RadSlideView.

I have charts where on one slide there is NumericalAxis on another CategoricalAxis.

Is it possible to do an extension and treat this, or another way?

Custom axis: Numerical axisExt

  

Regards,

Rodrigo.

Rodrigo
Top achievements
Rank 1
Iron
Iron
Iron
 updated answer on 25 Mar 2024
1 answer
53 views

Hello, 

I trying to use RadEventToCommandBehavior at page level to binding a Appearing Event to a command in my ViewModel, but it doesn't work. 

[Page.XAML]

 <ContentPage.Behaviors>
     <telerik:RadEventToCommandBehavior Command="{Binding AppearingCommand}" EventName="Appearing"  />
 </ContentPage.Behaviors>

[ViewModel]

[RelayCommand]
public async Task AppearingCommand()
{
    await LoadData();
}

Lance | Senior Manager Technical Support
Telerik team
 answered on 25 Mar 2024
1 answer
95 views

I am trying to emulate an old UI, where the button text Previous Module is split into two lines. Is there a way to force word wrap or multi-line behavior on the RadButton? I tried placing a \n between the two words, but it treated it as text and not as an escape sequence.

 

Thanks

-Sean

Yana
Telerik team
 answered on 25 Mar 2024
1 answer
65 views

If I have formatted text inside of the MAUI RichTextEditor and copy it by right-clicking then paste it with Ctrl+V the formatting breaks. Doing Ctrl+C + Ctrl+V keeps the formatting, as well as right click copy and right click paste. In the example below I have copied the above text by right-clicking and pasted it below with Ctrl+V.

Yana
Telerik team
 answered on 22 Mar 2024
2 answers
74 views

Dear Telerik team,

I was trying to bind "Source" and "data for HTML string" of "RadRichTextEditor" but, when I tried to change the bound value to another value, it was not updated on UI.

I debugged code of RadRichTextEditor of Telerik and the second condition "IsDocumentLoaded" of OnSourcePropertyChanged() has to become "true" but, it's not "true" and I assume that this cause problem as below code.

private async void OnSourcePropertyChanged(RichTextSource richTextSource)
{
if (richTextSource == null)
;
else if (!this.IsDocumentLoaded)
;
else
{
string htmlText = await this.GetHtmlAsync(richTextSource);
this.dispatchHandler.InvokeOnMainThread((Action) (async () =>
{
await this.richTextView.SetHtmlAsync(htmlText);
await this.richTextView.ClearHistoryAsync();
}));
this.dispatchHandler.InvokeOnMainThread((Action) (async () => await this.richTextView.ScrollToPositionAsync(0.0, 0.0)));
}
}

 

I believe that the data(IsDocumentLoaded) is updated when "document-loaded"message come to RichTextView.

private void OnDocumentLoaded(object sender, EventArgs eventArgs)
{
this.IsDocumentLoaded = true;
this.UpdateDefaultValues();
this.UpdateContentSize();
this.UpdateCommandState();
}

 

Would you please check this problem and improve it so the bound data can be updated and shown to UI correctly whenever I change the HTML string data?

 

 

 

Yana
Telerik team
 answered on 21 Mar 2024
1 answer
40 views

Hi,

Using the Maui scheduler if I add a 1 day appointment it shows over 2 days. Is this expected behaviour?

Thanks,

Euan

   Appointments.Add(new Telerik.Maui.Controls.Scheduler.Appointment()
   {
       UniqueId = "999",
       Subject = "Test",
       Location = "Testing",
       Start = DateTime.Now.Date,
       End = DateTime.Now.Date.AddDays(1),
       Category = new SchedulerAppointmentCategory("Crewable", "#FFFF80")
   });


Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Mar 2024
2 answers
102 views

Hi,

Using VS 2022 17.10 / .NET 8.0.3 / Telerik UI for MAUI 6.8 / MAUI 8.0.10 / Android 10 (API 29)

I've got a RadGridView on a ContentPage :


 <c:NDCDataGrid
     x:Name="dataGridDetails"
     ItemsSource="{Binding DetailedData}">
     <t:RadDataGrid.Columns>
         <t:DataGridTextColumn HeaderText="Location" PropertyName="LocationName" />
         <t:DataGridTextColumn
             CellContentFormat="{}{0: dd/MM/yyyy}"
             HeaderText="Date"
             PropertyName="Date" />
         <t:DataGridTextColumn HeaderText="Count" PropertyName="Count" />
         <t:DataGridTextColumn HeaderText="Type" PropertyName="Desc" />
     </t:RadDataGrid.Columns>
 </c:NDCDataGrid>

 

My NDCDataGrid is defined like this :

 

<t:RadDataGrid
    x:Class="NDC.Mobile.Controls.NDCDataGrid"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:t="http://schemas.telerik.com/2022/xaml/maui"
    AutoGenerateColumns="False"
    CanUserReorderColumns="False"
    SelectionMode="Single"
    SelectionUnit="Row"
    UserFilterMode="Disabled">
    <t:RadDataGrid.AlternateRowBackgroundStyle>
        <AppThemeBinding>
            <AppThemeBinding.Light>
                <t:DataGridBorderStyle
                    BackgroundColor="Beige"
                    BorderColor="Black"
                    BorderThickness="1" />
            </AppThemeBinding.Light>
            <AppThemeBinding.Dark>
                <t:DataGridBorderStyle
                    BackgroundColor="DimGray"
                    BorderColor="White"
                    BorderThickness="1" />
            </AppThemeBinding.Dark>
        </AppThemeBinding>
    </t:RadDataGrid.AlternateRowBackgroundStyle>
    <t:RadDataGrid.SelectionStyle>
        <AppThemeBinding>
            <AppThemeBinding.Light>
                <t:DataGridBorderStyle
                    BackgroundColor="LightGreen"
                    BorderColor="Black"
                    BorderThickness="1" />
            </AppThemeBinding.Light>
            <AppThemeBinding.Dark>
                <t:DataGridBorderStyle
                    BackgroundColor="DarkBlue"
                    BorderColor="White"
                    BorderThickness="1" />
            </AppThemeBinding.Dark>
        </AppThemeBinding>
    </t:RadDataGrid.SelectionStyle>
</t:RadDataGrid>

 

When loading a list of 900+ elements, the app crashes 


await Task.Run(async () =>
{
    DetailedData = new ObservableCollection<MyType>(await myService.Method());
});

 

MyType is defined like this :


   public int LocationName { get; set; }

   public int Count { get; set; }

   public DateTime Date { get; set; }

   public string Desc { get; set; }

 

Java.Lang.RuntimeException: 'Canvas: trying to draw too large(119964240bytes) bitmap.'

 

 	0xFFFFFFFFFFFFFFFF in Android.Runtime.RuntimeNativeMethods.monodroid_debugger_unhandled_exception	C#
 	0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:13,5	C#
 	0x1E in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPL_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:126,26	C#
 	0x17 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw	C#
 	0x8C in Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualVoidMethod at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/obj/Release/net7.0/JniEnvironment.g.cs:20830,5	C#
 	0x2D in Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeNonvirtualVoidMethod at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:93,6	C#
 	0xA6 in Android.Graphics.RecordingCanvas.DrawBitmap at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.Graphics.RecordingCanvas.cs:161,5	C#
 	0x68 in SkiaSharp.Views.Android.SurfaceFactory.DrawSurface	C#
 	0xCB in SkiaSharp.Views.Android.SKCanvasView.OnDraw	C#
 	0x11 in Android.Views.View.n_OnDraw_Landroid_graphics_Canvas_ at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.Views.View.cs:18998,4	C#
 	0x9 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPL_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:125,5	C#
 	0xF in Java.Interop.JniNativeMethods.CallNonvirtualBooleanMethodA at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/obj/Release/net7.0/JniEnvironment.g.cs:18200,4	C#
 	0x73 in Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualBooleanMethod at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/obj/Release/net7.0/JniEnvironment.g.cs:20458,4	C#
 	0x8A in Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:164,7	C#
 	0x70 in Android.Views.ViewGroup.DrawChild at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.Views.ViewGroup.cs:2839,5	C#
 	0x4 in Microsoft.Maui.Controls.Platform.Compatibility.ShellFlyoutRenderer.DrawChild at D:\a\_work\1\s\src\Controls\src\Core\Compatibility\Handlers\Shell\Android\ShellFlyoutRenderer.cs:172,4	C#
 	0x1C in Android.Views.ViewGroup.n_DrawChild_Landroid_graphics_Canvas_Landroid_view_View_J at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.Views.ViewGroup.cs:2824,4	C#
 	0xD in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPLLJ_Z at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:323,5	C#

The control is unusable in this state !

Thanks.

Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 15 Mar 2024
1 answer
41 views
Using the SDKBrowser application to test, I'm not able to right-click inside any of the rich text editors on Windows to bring up the context menu. I tried setting AutoGenerateContextMenu = "True" but that didn't change anything. Maybe I'm misinterpreting the documentation but it seems like that property should enable right-clicking?
Didi
Telerik team
 answered on 14 Mar 2024
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?