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

On a simple project with Telerik installed, I can change the FontSize on a simple standard label and Hot Reload works.  If I try to change the FontSize on a column in a ListView (in another project), Hot Reload does not work.  Settings in Tools\Options all appear to be the same between the projects.  Screen Print attached.


<?xml version="1.0" encoding="utf-8" ?>
<ContentPage 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"
             xmlns:viewModels="clr-namespace:peMove.Maui.LookupViewModels"
             x:Class="peMove.Maui.Pages.MainPage">

    <telerik:RadListView x:Name="listView" ItemsSource="{Binding Source}" MinimumWidthRequest="100" >
        <telerik:RadListView.BindingContext>
            <viewModels:ViewModel_L />
        </telerik:RadListView.BindingContext>

        <telerik:RadListView.ItemTemplate>
            <DataTemplate>
                <telerik:ListViewTemplateCell>
                    <telerik:ListViewTemplateCell.View>

                        <telerik:RadBorder x:Name="border01" BorderThickness="0, 0, 0, 1"
                                               BackgroundColor="White"
                                               BorderColor="#b1b1b1">
                            <Grid RowDefinitions="Auto" 
                                      ColumnSpacing="5"
                                      ColumnDefinitions="Auto,*,Auto" Margin="10,10">

                                <!--Column 1: Icon-->
                                <telerik:RadBorder x:Name="border02" 
                                                       Grid.Column="0"
                                                       CornerRadius="20"
                                                       WidthRequest="40" 
                                                       VerticalOptions="Center"
                                                       HorizontalOptions="Center"
                                                       BackgroundColor="{Binding Color}"
                                                       Padding="12,6"
                                                       Margin="10"
                                                       HeightRequest="40">
                                    <Label FontSize="20"
                                               Text="{Binding TypeShort}"
                                               TextColor="#FFFFFFDE"
                                               VerticalOptions="Center" 
                                               HorizontalOptions="Center"/>
                                </telerik:RadBorder>

                                <!--Column 2: Data-->
                                <VerticalStackLayout Grid.Column="1" 
                                                         Spacing="3"
                                                         Margin="0,6,0,6"
                                                         VerticalOptions="Center">
                                    <Label Text="{Binding Id}" 
                                               VerticalOptions="Center"
                                               HorizontalOptions="Start"
                                               FontSize="14"
                                               FontAttributes="Bold"
                                               TextColor="Black"/>
                                    <Label Text="{Binding Name}"
                                               HorizontalOptions="Start"
                                               VerticalOptions="Start"
                                               TextColor="{AppThemeBinding Light='#99000000'}" 
                                               FontSize="16"/>
                                    <Label Text="{Binding Status}"
                                               HorizontalOptions="Start"
                                               VerticalOptions="Start"
                                               TextColor="Black" 
                                               FontSize="10"/>
                                </VerticalStackLayout>

                                <!--Column 3: Quantity-->
                                <Label Grid.Column="2"
                                       Text="{Binding Quantity, StringFormat='{0:F2}'}"
                                       HorizontalOptions="Start"
                                       VerticalOptions="Start"
                                       TextColor="{AppThemeBinding Light='#7E7E7E'}" 
                                       FontSize="16"/>
                            </Grid>
                        </telerik:RadBorder>

                    </telerik:ListViewTemplateCell.View>
                </telerik:ListViewTemplateCell>
            </DataTemplate>
        </telerik:RadListView.ItemTemplate>

    </telerik:RadListView>

</ContentPage>

Didi
Telerik team
 updated answer on 19 Oct 2023
1 answer
34 views
For Desktop application: we neen to build customized toolbar - that might contained some sub toolbar items. Can we use In telerik:ListPickerButtonToolbarItem?
Didi
Telerik team
 answered on 18 Oct 2023
1 answer
32 views

I have a RadAutoComplete which works fine. But what I need to do is to be able to Clear the selected value programmatically (not using the clear button).

We have a use case where a user can have a selected value from the autocomplete, but then they use a toggle/button to change how the screen performs an API (not using the RadAutoCompelte selected value, but a different property), but when the user selects that toggle, it still leaves the selected value in the UI.

The user can be confused as to what style lookup they are performing seeing as when they toggle the other style lookup using the toggle button, the selected value from the autocomplete is not cleared.

I have been unable to find an event or option to clear the selected value in the display.

Can you tell me if there is a way to do this?

thanks

Billy

Didi
Telerik team
 answered on 18 Oct 2023
1 answer
420 views

Good afternoon,

I am using Telerik.UI.For.MAUI Version 6.3.0 (the issue also happens with 6.0.0) my .NET MAUI version is 7.0.52.

The Telerik controls that I'm using are the following:

  • RadDateTimePicker
  • Button
  • RichTextEditor

Through Visual Studio I am paired to a mac and whenever I try to launch the iOS simulator I keep getting the following error:

Severity  Code  Description  Project  File  Line  Suppression State
Error    clang++ exited with code 1:
ld: in /Users/devtester/Library/Caches/Xamarin/mtbs/builds/Ethel/734efe11f7dfae48b86ca62a722964f63815352b60a5fb7b241a48182b855194/obj/Debug/net7.0-ios/ios-arm64/linker-cache/TelerikUI.a(TKChartAnnotation.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/devtester/Library/Caches/Xamarin/mtbs/builds/Ethel/734efe11f7dfae48b86ca62a722964f63815352b60a5fb7b241a48182b855194/obj/Debug/net7.0-ios/ios-arm64/linker-cache/TelerikUI.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)  Ethel  C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7107\targets\Xamarin.Shared.Sdk.targets  1272  

Any suggestions?

Didi
Telerik team
 answered on 18 Oct 2023
0 answers
34 views

I'm working with the RadExpander for .NET MAUI (6.3..0), and while it works fine on Android, it seems to lack a default IndicatorText on iOS and instead renders with a boxed question mark. It looks OK when I specify some IndicatorText string, but I'm not sure what the built-in character is and I'd love to get that to match (and have the orientation of that character be natural as well).

Here's what it looks like:

and expanded, it becomes:

Adam
Top achievements
Rank 1
 asked on 17 Oct 2023
1 answer
51 views

Hi,

I tested nested properties in data grid by following this doc https://docs.telerik.com/devtools/maui/controls/datagrid/columns/nested-properties. But got an error at the footer of City Column when I counting the cities by PropertyAggregateDescriptor for this column


 

So I am wondering is aggregate supported for nested properties?

Jamison

Didi
Telerik team
 updated answer on 17 Oct 2023
1 answer
24 views

How to create above UI with using RadShapeRating in MAUI ? Can you provide the sample app .
Didi
Telerik team
 answered on 13 Oct 2023
1 answer
34 views

I can see this in the docs:

But that doesn't add an Entry (Text box)

I would prefer to just have an Entry in the toolbar rather than a button to show a Template with an entry inside it.

This is the error:



Thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Oct 2023
1 answer
61 views

I've setup my DataGrid to have a checkbox column. I want to implement a feature where I can click the checkbox on one row, then left shift + click on a checkbox in another row and check it along with all the rows in between.

I can get the first row and detect the left shift + click to get the last row. My problem is that I can't see a way to iterate through the grid to capture all ids for the rows in between so I can check the boxes for those rows as well. 

Using DataGrid.ItemSource won't work because it won't respect any sorting, filtering, or grouping in the grid. How do I iterate through grid rows to find my first and last id and collect all ids in between?

Yana
Telerik team
 answered on 12 Oct 2023
3 answers
281 views
After adding items to the tree, I want to check an initial set of items and it is not working.  I have tried using "CheckedItems.Add()" and also setting the CheckedItems property to a list of objects.  Neither seems to work.  Am I doing something wrong?
Paul
Top achievements
Rank 1
Iron
 answered on 11 Oct 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?