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

Hi I have attached my sample application where I've been trying out the RadDataForm and the behaviour seems inconsistent. 

I have a few scenarios where the validation and commit modes are behaving differently to how the docs suggest they should. I have laid them out in the XAML for MainPage to make it easy for you to test. 

Scenario 1 - Form level settings:

When I apply ValidationMode="LostFocus" to the whole form it still validates on property changed, UNLESS I also set CommitMode to LostFocus. You can test this by uncommenting each option in my MainPage.xaml file. The Name field will validate as soon as you start typing.

Scenario 2 - Control level settings:

ValidationMode="LostFocus" on the control level only doesn't seem to work at all, even with commit = lost focus.

In order to get my form to behave how I want, I have to set the form level validation AND commit to "LostFocus", however this now introduces another issue. The datepickers don't set their values on LostFocus (because I don't think they get focus since they use a popup), and with the form overriding it, it also doesn't commit the value on property changed, even if I set it on the individual datepicker control. Which means if I have any custom validation around these properties, it won't work properly because the values have not been set.

In my case I wrote a custom validator to check that StartDate is always before EndDate. If the form is set up with no options, this works correctly, but if I add LostFocus so that my RadEntries behave correctly, when my validator fires for the dates, the value of EndDate is always not set. I have to manually commit it with form.CommitChanges.

This doesn't seem like correct behaviour, unless I'm misunderstanding the docs.

Any help would be appreciated :)

Didi
Telerik team
 answered on 25 May 2023
1 answer
693 views
I am using a RadListView with a Horizontal Linear layout.
While I can make the entire listview right justified with HorizontalOptions set to End, the individual items with in the list are still left aligned.
Is there a way to change this?
Lance | Senior Manager Technical Support
Telerik team
 answered on 24 May 2023
0 answers
288 views

I have a listview using templatecells.

With android API >= 31, everything looks fine (default background is transparent)

On androd API 28, the background defaults to white, you can manually set it to other colors which work, but if set to transparent, the background stays white

almostEric
Top achievements
Rank 1
Iron
Iron
 asked on 24 May 2023
1 answer
176 views

Hi, 

I'm using the RadComboBox and the behaviour is different between iOS and Android.

On iOS, when I click on the field the dropdown opens, but on Android it will only open if I click on the arrow icon. Clicking in the middle of the control does nothing. 

Using EditMode works and the control opens when it gets focus, but I don't want to use Edit mode.

Is this correct? It seems inconsistent with the other telerik controls I'm using like DatePicker where clicking anywhere on the control opens the picker / popup. 

Thanks!

Didi
Telerik team
 answered on 24 May 2023
1 answer
168 views

Hi, 

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

Maria
Telerik team
 answered on 23 May 2023
0 answers
178 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
202 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
157 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
118 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
660 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
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?