Hi Team,
any suggestion for me if I want to make Telerik popup like the following way: modal popup and wait for user input, then do next step based on user choose?
Unable to set selected item text propery from viewmodel unless IsEditable="True" but not IsEditable="{Binding boolvar}"
The below code will show the text property but editable. How to make the combo box non-editable and programmatically set the selected item and selected text
<telerik:RadComboBox x:Name="MAccountHead" DisplayMemberPath="{Binding SelectedType.TypeDesc, Mode=TwoWay}" SelectedItem="{Binding SelectedType, Mode=TwoWay}"
HighlightTextColor="Blue" ItemsSource="{Binding Typ}" Text="{Binding SelectedType.TypeDesc, Mode=TwoWay}"
HeightRequest="45" PlaceholderColor="LightGray" Placeholder="Main Head"
Grid.Row="4" Grid.Column="1" BorderThickness="0,0,0,1" IsEditable="True">
<telerik:RadComboBox.Triggers>
<DataTrigger TargetType="telerik:RadComboBox"
Binding="{Binding FormVal.TypeErrorVisible}"
Value="true">
<Setter Property="BackgroundColor" Value="Bisque"/>
</DataTrigger>
</telerik:RadComboBox.Triggers>
</telerik:RadComboBox>
Hello,
I seem to be having an issue with the Telerik .NET MAUI SideDrawer control. I can see the MainContent view, however, I have no means to open the DrawerContent.
Below is my ContentPage markup and a screenshot of the result.
Is my markup correct? Is it just my device causing the issue?
ContentPage Markup
<?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"
x:Class="SynergyMobile4.Views.TestReport.TR_Index"
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
xmlns:tr="clr-namespace:SynergyMobile4.ViewModels.TestReport"
Title="Test Report">
<VerticalStackLayout>
<telerik:RadSideDrawer x:Name="drawer"
DrawerLength="200">
<telerik:RadSideDrawer.MainContent>
<Label Text="Main content" />
</telerik:RadSideDrawer.MainContent>
<telerik:RadSideDrawer.DrawerContent>
<VerticalStackLayout Spacing="10"
BackgroundColor="Red"
Padding="10, 10, 0, 0">
<Button Text="Mail" />
<Button Text="Calendar" />
<Button Text="People" />
<Button Text="Tasks" />
</VerticalStackLayout>
</telerik:RadSideDrawer.DrawerContent>
</telerik:RadSideDrawer>
</VerticalStackLayout>
</ContentPage>
Result (screenshot from Galaxy S22 physical device)
Edit:
If I hardcode the [IsOpen] property to "True" in the XAML, the drawer opens and I can see the items, but I still have no button or control to open it naturally.
Hello,
is there possibility to use telerik maui controls with material design?
thanks in advance
I have just implemented a MAUI ContentPage with an completely empty RadDataGrid definition. In my "using" section of the xaml page, I have this entry:
xmlns:dataGrid="http://schemas.telerik.com/2022/xaml/maui"
In the root grid, I have this entry:
<dataGrid:RadDataGrid
Grid.Row="1">
</dataGrid:RadDataGrid>
When the application is run, I get the following XAML binding errors:
NotificationsViewModel ActualWidth RadBorder.MinimumWidthRequest Double 'ActualWidth' property not found on 'MobyClient.ViewModels.NotificationsViewModel', target property: 'Telerik.Maui.Controls.RadBorder.MinimumWidthRequest' NotificationsViewModel HeaderText Label.Text String 'HeaderText' property not found on 'MobyClient.ViewModels.NotificationsViewModel', target property: 'Microsoft.Maui.Controls.Label.Text'
A key point is that when I added 'ActualWidth' and 'HeaderText' observable properties, the errors go away. In fact, when I run the Telerik MAUI code examples, I see the same errors in the examples "First Look" data grid example:
Telerik.Maui.Controls.Compatibility.DataControlsRenderer.UWP.ExtendedListViewItem HandleIconPath Microsoft.UI.Xaml.Controls.BitmapIcon.UriSource, Name='PART_ReorderHandle' Uri BindingExpression path error: 'HandleIconPath' property not found on 'Telerik.Maui.Controls.Compatibility.DataControlsRenderer.UWP.ExtendedListViewItem' FirstLookViewModel ActualWidth RadBorder.MinimumWidthRequest Double 'ActualWidth' property not found on 'QSF.Examples.DataGridControl.FirstLookExample.FirstLookViewModel', target property: 'Telerik.Maui.Controls.RadBorder.MinimumWidthRequest' FirstLookViewModel HeaderText Label.Text String 'HeaderText' property not found on 'QSF.Examples.DataGridControl.FirstLookExample.FirstLookViewModel', target property: 'Microsoft.Maui.Controls.Label.Text'
I may be missing it, but is GridLines documented? It took me quite a while to figure out how to turn off the white lines between rows (WinUI). Was this recently added? Anyway,
<Setter Property="GridLinesVisibility" Value="None" />
is what I needed. Thanks.
It doesn't seem this is possible, correct? Could it be added as a feature request?
For example, I may want to use the footer row as a type of status message and would like to have the entire grid width to work with.
Thanks,
-ldl-
We did some investigating about PropertySortDescriptor, it seems that we need target 'sort column' be a part of our grid columns, we tried it in Telerik sample project and it will give no response without the target 'sort column'. So we would like to know that we have to have a column for target property to use it as a property sort descriptor, right?
please check more details in this document: .NET MAUI DataGrid Documentation - Sorting - Telerik UI for .NET MAUI
The difference between the DelegateSortDescriptor
and the PropertySortDescriptor
is that the DelegateSortDescriptor
sorts data by a custom key, while the PropertySortDescriptor
sorts by a defined key, which is a property from the model.