Hi,
There is no loading button at the moment. This is a very common component to indicate the user.
Some basically it can have an icon (or not) by default and isLoading or isBusy property to show the loading icon instead of the icon assigned. A decision can be made to make it disabled then or not automatically. Generally it should be upto the developer to disable it as well when loading.
I am trying to emulate an old UI, where the button text Previous Module is split into two lines. Is there a way to force word wrap or multi-line behavior on the RadButton? I tried placing a \n between the two words, but it treated it as text and not as an escape sequence.
Thanks
-Sean
I have a button where I want to navigate to another page with the object of the combobox as the command parameter of the button that the user clicks. How do I reference the object in the command parameter.
<telerik:RadComboBox x:Name="arresteeListPicker" ItemsSource="{Binding Arrestees}"
DisplayMemberPath="ArresteeFullName"
Placeholder="Arrestees"
IsEditable="False">
<telerik:RadComboBox.ItemTemplate>
<DataTemplate x:DataType="model:Arrestee">
<Label Text="{Binding ArresteeFullName}"
></Label>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
</telerik:RadComboBox>
<Button x:Name="selectArresteeBtn"
Text="Select"
Command="{Binding SelectArresteeCommand}"
CommandParameter= ?????????
WidthRequest="70"
HorizontalOptions="Start"
Margin="0, 10, 0, 0"
/>
Thank you in advance,
Scott
How to change the color of the following icon in a RadButton in code behind:
<telerik:RadButton Clicked="DoSomething"
ClassId="PhonePortrait"
x:Name="PhonePortrait"
BorderThickness="0"
BackgroundColor="Transparent"
HorizontalOptions="Center"
VerticalOptions="Center"
Margin="12,0,0,0"
WidthRequest="32"
HeightRequest="32">
<telerik:RadButton.ImageSource>
<FontImageSource FontFamily="IonIcons" Glyph="" Color="#999999" Size="28"/>
</telerik:RadButton.ImageSource>
</telerik:RadButton>
After trying too many unsuccessful things and wasting WAAAAAAY TOO MUCH TIME on something that should be simple, I have come to the realization that either the functionality I need is not documented, documented well, or doesn't exist. I just want to use a .png file as the image source for a ButtonToolbarItem, but the only samples, items in the docs, or Google imply that it can only be done with a FontImageSource. If this is true, I think this constraint was a very poor decision on Telerik's behalf. What if a font doesn't exist for the image I NEED to display on a button?
Help me with this or admit this was a shortsighted decision...
Thanks, Steve Miller
steve@mobynet.io
In my MAUI app I target
I'm building a custom control and when I try to use the telerik:RadButton I get the following when building for iOS
Cannot resolve type "http://schemas.telerik.com/2022/xaml/maui:telerik:RadButton"
See below code as an example, it works fine for other controls but not the button.
<?xml version="1.0" encoding="utf-8" ?>
<ContentView
x:Class="MyApp.Control"
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"
x:Name="this">
<StackLayout>
<telerik:RadBusyIndicator BackgroundColor="Red" />
<telerik:RadButton BackgroundColor="Red" Text="Hello" />
</StackLayout>
</ContentView>
I've tried touse the Telerik namespace instead of the schema as well but no luck.