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

When using a ChartSelectionBehavior, the DataPointSelectionMode never fires the SelectionChanged event when clicking on a data point.

I have used both Single and Multiple modes without success.  The SeriesSelectionMode does work, however.

<Grid RowDefinitions="*">

        <telerik:RadCartesianChart x:Name="chart"
                                   Grid.Row="0">

            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:NumericalAxis x:Name="xAxis" />
            </telerik:RadCartesianChart.HorizontalAxis>

            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:NumericalAxis x:Name="yAxis" />
            </telerik:RadCartesianChart.VerticalAxis>

            <telerik:RadCartesianChart.Series />

            <telerik:RadCartesianChart.Annotations>

                <telerik:CartesianGridLineAnnotation x:Name="marker"
                                                     Axis="{x:Reference xAxis}" />

            </telerik:RadCartesianChart.Annotations>

            <telerik:RadCartesianChart.ChartBehaviors>

                <telerik:ChartSelectionBehavior x:Name="selection"
                                                DataPointSelectionMode="Single"
                                                SelectionChanged="ChartSelectionBehavior_SelectionChanged" />
            </telerik:RadCartesianChart.ChartBehaviors>

        </telerik:RadCartesianChart>

        <ScrollView Grid.Row="0"
                    VerticalOptions="Start"
                    x:Name="legendContainer"
                    HeightRequest="80">
            <telerik:RadLegend x:Name="legend"
                               LegendProvider="{x:Reference Name=chart}" />
        </ScrollView>
    </Grid>

Didi
Telerik team
 updated answer on 30 Jun 2023
1 answer
353 views

Hello!

I am using a list picker and had to style it without the "Ok" button in the footer in order to match the other popups I used. However, I cant seem to figure out how to get the picker to update the selected item without calling the accept command with the ok button. I wanted to use an event to command behavior in order to call the accept command when the selection changes, but it looks like the selection changed event only fires when the accept command is called. Currently, if I tap a new item in the list, it will change the highlighted item but not the value in the display. I've attached a screen shot of my picker so you can see what it looks like without the ok button. Are there any work arounds to change the selected item and close the popup when a new item is clicked? Or is my time better served looking for a new tool to use?

Thanks!

Didi
Telerik team
 answered on 30 Jun 2023
1 answer
76 views

Hi, We are in dire need of the scheduler component for a core part of our MAUI converted app.

It is the single biggest missing feature before our xamarin app can be retired.

From the list of planned features it seems it would be soon, but we aren't sure how to read your release plan.

Will it be in the July update? If not, when do you expect it out?, if you have an estimate of course.

Didi
Telerik team
 answered on 28 Jun 2023
0 answers
138 views

My application has several views with RadDataGrids populated by DataTables. Column Names for the RadDataGrid are taken from the DataTable.

I'm using the below code to have aggregate totals next to the GroupBy Headers and to also show the total number of records displayed in the Footer. This creates an empty Column in the grid. Hiding the column removes the totals from the footer.

Is there a better way of displaying totals with the GroupBy Headers? If the empty column is necessary, how do I hide it but keep the totals in the footer?

NOTE: PluginID is the first column in the DataTable for this particular view

        <telerik:RadDataGrid
            x:Name="dataGridPlugins"
            Grid.Row="4"
            Margin="0,10,0,0"
            ItemsSource="{Binding}"            
            ShowGroupHeaderAggregates="True"
            ShowColumnFooters="True" >
            <telerik:RadDataGrid.Columns>
                <telerik:DataGridTextColumn>
                    <telerik:DataGridTextColumn.AggregateDescriptors>
                        <telerik:PropertyAggregateDescriptor PropertyName="PluginID"
                                                             Function="Count"
                                                             Caption="Total:"/>
                    </telerik:DataGridTextColumn.AggregateDescriptors>
                </telerik:DataGridTextColumn>
            </telerik:RadDataGrid.Columns>
Clint
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 26 Jun 2023
1 answer
134 views

Here is my first try with the RichTextEditor where the editor and toolbox are created using C# code:

 <VerticalStackLayout x:Name="VSL" VerticalOptions="Fill" Padding="2">
    
 </VerticalStackLayout>

 Grid grd = new Grid
        {
            RowDefinitions =
                        {
                            new RowDefinition { Height = new GridLength(1, GridUnitType.Auto) },
                            new RowDefinition { Height = new GridLength(1, GridUnitType.Star) }
                        },
            ColumnDefinitions =
                        {
                            new ColumnDefinition{ Width = new GridLength(1, GridUnitType.Star) }
                        },
            VerticalOptions = LayoutOptions.Fill,
            HorizontalOptions = LayoutOptions.Fill
        };
        RadRichTextEditor rte = new()
        {
            Source = RichTextSource.FromString("<b>Hello .NET Maui</b>"),
            BorderThickness = new Thickness(1),
            BorderColor = Colors.Red,
            VerticalOptions = LayoutOptions.Fill,
            HorizontalOptions = LayoutOptions.Fill
        };
        RadRichTextEditorToolbar rtet = new()
        {
            HeightRequest = 60,
            RichTextEditor = rte,
            AutoGenerateItems = true
        };

        grd.Add(rtet, 0, 0);
        grd.Add(rte, 0, 1);
        VSL.Add(grd);

A problem arises. The editor is slowly built up vertically when the page is called up. But this construction does not end and the height of the editor becomes almost infinite.
If I give a fixed value for HeightRequest instead of VerticalOptions = Fille then the behavior is ok.
What's wrong with my code?

Lance | Senior Manager Technical Support
Telerik team
 answered on 23 Jun 2023
1 answer
299 views

I have implemented the AutoComplete feature fed from API successfully. But when an Item in the list is selected, it leaves the Keyboard open.

The keyboard will only close upon hitting the "return" key in the soft keyboard. Users (in almost all cases) will expect the keyboard to close when selecting an item as it closes the dropdown list when item is selected.

How can I close the keyboard when the autocomplete item is selected? There doesn't appear to be an ItemSelected event.

Didi
Telerik team
 answered on 22 Jun 2023
1 answer
434 views

Hello,

I want to know if RadEntry has any property or functionality that allows me to remove the bottom line when editing the text

Didi
Telerik team
 answered on 22 Jun 2023
1 answer
84 views

Hello,

if I understand it correctly, your PDF Viewer control for .NET MAUI does not support having form fields inside the pdf itself, which can be edited and saved to a file or am I missing something? Do you plan to implement this feature in the future? 

I'd like to have something like this in directly my application:

Thanks

Didi
Telerik team
 answered on 21 Jun 2023
0 answers
88 views

I watched this tutorial on how to create a .NET MAUI Blazor App

https://www.youtube.com/watch?v=bnoCU5XGBh4

However I have an existing Blazor Web Assembly app, what is the best recommended way to wrap it into a BlazorWebView? I have dug around for tutorials but as its fairly new there is not much content.

andrea
Top achievements
Rank 1
 asked on 19 Jun 2023
1 answer
233 views

I'm using Telerik UI for .NET MAUI v. 5.01 and when I set the property IsContentSwipingEnabled on my RadTabView control the compiler throws the error 'No property, BindableProperty, or event found for "IsContentSwipingEnabled", or mismatching type between value and property.'.  

I'm using the swipe for another purpose within each tab and don't want the default behavior of the control to interfere.  

<telerik:RadTabView x:Name="tabView"
    AbsoluteLayout.LayoutFlags="All"
AbsoluteLayout.LayoutBounds="0,0,1,1"
AutomationId="tabView"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
    IsContentSwipingEnabled="False" >

... several tabs here.  

</telerik:RadTabView>

 

Didi
Telerik team
 answered on 19 Jun 2023
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?