Telerik Forums
UI for .NET MAUI Forum
1 answer
11 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
0 answers
2 views
I noticed that if I use the RadSlideView in a Maui project running on Android the panning gestures do not work when in a frame control. It works fine on a windows machine but does nothing in Android.

Here's  the view that i'm using which i modified from the SDKBrowserMaui:


<?xml version="1.0" encoding="utf-8" ?>
<telerik:RadContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
                        xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                        xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
                        x:Class="SDKBrowserMaui.Examples.SlideViewControl.FeaturesCategory.InteractionModeExample.InteractionMode"
                        Margin="5">
    <Grid>
        <!-- >> slideview-interaction-xaml -->
        <telerik:RadSlideView x:Name="slideView"
                              ItemsSource="{Binding Views}"
                              InteractionMode="Pan">
            <telerik:RadSlideView.ItemTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="*"></RowDefinition>
                            <RowDefinition Height="*"></RowDefinition>
                        </Grid.RowDefinitions>

                        <Label Grid.Row="0" Text="{Binding Content}" HorizontalTextAlignment="Center" Margin="20"></Label>
                        <Frame Grid.Row="1" Background="LightGray" CornerRadius="15" Margin="15">
                            <!--<Frame.GestureRecognizers>
                                <SwipeGestureRecognizer Direction="Left,Right" Swiped="SwipeGestureRecognizer_OnSwiped"></SwipeGestureRecognizer>
                            </Frame.GestureRecognizers>-->
                            <telerik:RadButton Text="Button in Frame"
                                               TextColor="#007ACC"
                                               VerticalOptions="Center"/>
                        </Frame>
                        <telerik:RadButton Grid.Row="2" Text="Button in Grid"
                                       TextColor="#007ACC"
                                       VerticalOptions="Center"/>
                    </Grid>
                </DataTemplate>
            </telerik:RadSlideView.ItemTemplate>
        </telerik:RadSlideView>
        <!-- << slideview-interaction-xaml -->
    </Grid>
</telerik:RadContentView>

I realize I can get it to work by adding a GestureRecognizer in the frame but it took a while to figure out what was going wrong.
Calin
Top achievements
Rank 1
 asked on 27 Mar 2024
0 answers
2 views

I have a scenario where I have a large amount of items in my RadSlideView and want to limit the amount of visible indicators. I noticed that there is supposed to be a property called MaxVisibleItems (from the documentation) that I could use to limit the maximum visibile indicators, but when I try to set it in XAML it is not recognized or not accessible.

I'm using the latest version of Telerik.UI.for.Maui (6.8.0) from the telerik nuget feed.

Referenced Documentation: https://docs.telerik.com/devtools/maui/controls/slideview/indicators

Calin
Top achievements
Rank 1
 asked on 26 Mar 2024
0 answers
0 views
Good afternoon, I would like to know if it is possible to use nested properties in DataGrid FilterDescriptors, as my attempts do not result in the expected behavior. Here is the sample code I am using:
<telerik:RadDataGrid x:Name="dataGrid">
   <telerik:RadDataGrid.Columns>
      <telerik:DataGridTextColumn HeaderText="Property" "PropertyName="Property.NestedProperty" />
   </telerik:RadDataGrid.Columns>
   <telerik:RadDataGrid.FilterDescriptors>
      <telerik:TextFilterDescriptor PropertyName="Property.NestedProperty" Operator="EqualsTo" Value="Value" />
   </telerik:RadDataGrid.FilterDescriptors>
</telerik:RadDataGrid>

Yurii
Top achievements
Rank 1
 asked on 26 Mar 2024
1 answer
2 views
Does Image Editor Support TIFF files?
Martin Ivanov
Telerik team
 answered on 26 Mar 2024
2 answers
16 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
 updated answer on 25 Mar 2024
1 answer
6 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 | Manager Technical Support
Telerik team
 answered on 25 Mar 2024
1 answer
2 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
13 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
19 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
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?