Hi,
How can I change the cursor color inside the RadAutoComplete controller?
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,
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
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" />
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
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;
}
}
}
}