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

Hi, 

How can I change the cursor color inside the RadAutoComplete controller?

Maria
Telerik team
 answered on 23 May 2023
0 answers
76 views

HI forum,

I need your help in design this view.

I have task in MAUI to download files&& folders using my API.

Please see :https://www.screencast.com/t/MGyb9B50TX99

See what I did.

https://www.screencast.com/t/HbLW5Rxbf

1.I would like to get how to build the view model/mode; for this screenshot

especially to select all , specific checkboxes .

2.I want when select all , all checkboxes will be checked and when i checked all the checkboxes the select all will be checked.

3.How to save the selected data.

4. How to get inner data for new selection when i press on folder image.

Help will be appreciated.

Thanks,


 

 

Hanoch
Top achievements
Rank 1
 asked on 16 May 2023
1 answer
108 views

Hey Team,

I am trying to investigate how to use CandlestickSeries here, there are some questions want to confirm

1. If I want to get point value, how can I do that?  like when I use below code, how can i get current point binding value in code behind? 

<telerik:ChartTooltipBehavior TriggerMode="Tap" />

2. how can I modify chart color?  like below screenshot: I want to reset white/blue to others 

3. how can set Grid line as dash line, Grid code here 


<telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLineThickness="1"
                                            MajorLinesVisibility="XY"
                                            StripLinesVisibility="XY"
                                            MajorLineColor="Red" />
</telerik:RadCartesianChart.Grid>

 

Thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 May 2023
1 answer
77 views
  1. I cannot realize some simple things with RadListView:

    1.  I want to set the background color of the selected item.
        RadListView offers the poperty SelectedItemStyle. But nothing
        happens when I click on an item. I've extended for example the ControlSamples
        project:
             ListViewControl => FirstLookExample => FirstLookView.xaml

           line 15: <telerik:RadListView x:Name="listView"
                                 IsItemsReorderEnabled="True"
                                 ItemsSource="{Binding People}"
                                 SelectionMode="Single">
                                <telerik:RadListView.SelectedItemStyle>
                                     <telerik:ListViewItemStyle
                                         BackgroundColor="#FFFF0000"
                                         BorderColor="#FF00FF00" />
                               </telerik:RadListView.SelectedItemStyle>

         When I click on an item, the background remains white.

    2. RadListView has no property "SelectionChangedCommand". How to assign such a command
       from a viewmodel to RadListView?

       With a CollectionView all works fine. But there I cannot switch on the reordering feature with a simple flag.
Didi
Telerik team
 answered on 15 May 2023
0 answers
63 views
I want to set Piechart label positions at outside end.How can I do that?
Anu
Top achievements
Rank 1
Iron
 asked on 12 May 2023
1 answer
369 views

Hi

I'm getting the following Binding errors when using the Date or Time picker.

'BorderBrush' property not found on 'Telerik.Maui.Controls.PickerDateSelector', target property: Telerik.Maui.Controls.RadBorder.BorderBrush'			

 

 This happens regardless of the settings or style applied (at least to my knowledge) and Android and iOS.  See below for example

<telerik:RadDatePicker HeightRequest="50" IsClearButtonVisible="True" Date="10,10,10" />

<telerik:RadTimePicker HeightRequest="50" IsClearButtonVisible="True" Time="10" />



Didi
Telerik team
 answered on 12 May 2023
1 answer
219 views

Hello,

starting your actual project "ControlsSamples" with an Android Emulator, the DatePicker not working (can't see any Date control). The same issue happens when i use the RadDatePicker in our own project.

We use the actual telerik Package 5.1.0.

Microsoft Visual Studio Professional 2022 

Telerik.UI.for.Maui 5.1.0

Please can you help me to solve this problem.

 

Best regards

Elke Albert

 

 

Didi
Telerik team
 answered on 10 May 2023
1 answer
205 views
Hey
I am searching for a way to make a weekplanner for work, with the ability to drag and drop tasks from one day to another (from column to another column).
Can i find help to this from Telerik?
Didi
Telerik team
 answered on 10 May 2023
0 answers
907 views

Hi, I am new to .NET Maui and Telerik, I'm developing a mobile application that needs to display a list of shops, grouped by city. I also need to open a details page when a specific item is clicked.

I don't have control over the web api providing the data so I have to use it "as is", meaning I'm getting over 1500 items in one go and I am storing it in a local variable.

To create the list I used the RadListView with a GroupDescriptor and it seemd to work fine... it was a bit laggy on startup but acceptable for my use case. However, clicking on an item would cause the application to freeze for several seconds on iOS.

To solve the problem I tried using the LoadOnDemand feature, cycling through the items stored in my local variable and adding them to a ListViewLoadOnDemandCollection, which fixed the original problem but created a new one.

On Android everything works fine but on iOS whenever items are added to the list the app freezes for some time, which increase with every consecutive load. I noticed that my code to load new items is executed istantly but then the rendering takes a lot of time and the following error is displayed in my logs:

Invalid update: invalid number of items in section 8. The number of items contained in an existing section after the update (16) must be equal to the number of items contained in that section before the update (16), plus or minus the number of items inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). Collection view: <TKCollectionView: 0x7fe80a09a400; baseClass = UICollectionView; frame = (0 0; 392 642); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x6000020144e0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x6000027f0700>; contentOffset: {0, 2985.3333333333335}; contentSize: {392, 4200}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x7fe8099545d0>; dataSource: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView: 0x7fe80920bde0; frame = (0 0; 392 642); backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x6000027f0300>>>

This is my code:

XAML:

<telerik:RadListView ItemsSource="{Binding SourceItems}"
                     x:Name="listView"
                     VerticalScrollBarVisibility="Always"
                     FilterDescriptors="{Binding FilterDescriptors, Mode=OneWayToSource}"
                     IsLoadOnDemandEnabled="{Binding LoadOnDemandEnabled}"
                     LoadOnDemandBufferItemsCount="50"
                     LoadOnDemandMode="Automatic"
                     IsLoadOnDemandActive="{Binding LoadOnDemandActive}"
                     ItemTapped="OnItemSelected">
    [...]
</telerik:RadListView>

ViewModel:

namespace MyApp.ViewModels
{
    public partial class SearchViewModel : ObservableObject
    {
        [ObservableProperty]
        public List<Shop> items;

        [ObservableProperty]
        public ObservableCollection<Shop> sourceItems;

        [ObservableProperty]
        public bool loadOnDemandEnabled = false;

        [ObservableProperty]
        public bool loadOnDemandActive = false;

        public SearchViewModel()
        {
            SourceItems = new ListViewLoadOnDemandCollection(LoadMoreShops);
        }

        public IEnumerable<Shop> LoadMoreShops(CancellationToken cancelationToken)
        {
            ObservableCollection<Shop> result = new ObservableCollection<Shop>();
            LoadOnDemandActive = true;

            try
            {
                int maxIndex = sourceItemsIndex + 50;
                int totalIndex = items != null ? items.Count : 0;
                maxIndex = Math.Min(maxIndex, totalIndex);

                if (maxIndex > sourceItemsIndex)
                {
                    for (int i = sourceItemsIndex; i < maxIndex; i++)
                    {
                        result.Add(Items[i]);
                    }
                }
                else
                {
                    LoadOnDemandEnabled = false;
                    return null;
                }

                sourceItemsIndex = maxIndex + 1;
                LoadOnDemandActive = false;
                return result;
            }
            catch (Exception ex)
            {
                //exception is thrown when the task is canceled. Returning null does not affect the ItemsSource.
                LoadOnDemandActive = false;
                return null;
            }
        }
    }
}
While searching the forum I found a similar issue regarding the ListView for Xamarin Forms (but nothing for MAUI), I'll link the form post in case it might come in handy: https://www.telerik.com/forums/ios-uicollectionview-logs-invalid-update
Webtoools
Top achievements
Rank 1
 asked on 08 May 2023
1 answer
75 views
Hi, I'm developing a MAUI application with use of Telerik DataGrid. My question is how to trigger the CommitEdit command when user clicking any part of the page? Currently, CommitEdit will trigger when clicks any part of the Telerik DataGrid. Thanks
Maria
Telerik team
 answered on 28 Apr 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?