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

If I bind colors with DynamicResource syntax highlighted in the following example,  the exception "The name 'sender' does not exist in the current context" is thrown ,  do you have any insights for it?  

By the way, if I use StaticResource syntax,  it works properly.

Thanks.

            <telerik:GaugeRange Color="{DynamicResource MyColor}"
                                  From="0"
                                  To="150" />   
Yana
Telerik team
 answered on 09 Oct 2024
0 answers
114 views

We noticed that switching appointmentTemplate the first time activeViewDefinition is set to week (from day) there is a long update/load time on the view, so we sought to insert a loading overlay. (activated by setting a boolean on viewmodel to true).

We switch the template by looking into  PropertyChanged event with this method:

  private void MScheduler_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
  {
      if (e.PropertyName == "ActiveViewDefinition")
      {
          if (MScheduler.ActiveViewDefinition != null)
          {
              if (MScheduler.ActiveViewDefinition.Title == "Day")
              {
                  MScheduler.AppointmentTemplate = this.Resources["CustomAppointmentDataTemplate"] as DataTemplate;
              }
              else
              {
                  
                  MScheduler.AppointmentTemplate = this.Resources["CustomAppointmentDataTemplateWeek"] as DataTemplate;
              }
          }
      }
  }

However setting the boolean for the loading view just before appointmentTemplate = the weektemplate from resource.

Doesn't make it load until after the scheduler is done doing the updates needed.

So my question is, is there a better way to change the appointmenttemplate(so we avoid the 2-5 second freeze on the ui) or make a loading screen work so we can hide it?

 

inLogic
Top achievements
Rank 1
Iron
Iron
 updated question on 04 Oct 2024
1 answer
83 views

Hi!

I need help.

I would like the icon to be at the end and keep the same direction as in the image
> closed
v open

 

In this example below it is at the end but changes direction.

https://www.telerik.com/forums/icon-in-accordion-header

Regards,

Rodrigo.

Yana
Telerik team
 answered on 25 Sep 2024
1 answer
106 views
Hi Team,

I am using RadListPicker in MAUI application. Title is not showing in UWP as it is showing in Android and iOS.

Here is the code I am using.

In Xaml page

    <telerikPrimitives:RadListPicker AutomationId="ProjectName" VerticalOptions="CenterAndExpand" Grid.Column="2" Placeholder="Project" DisplayLabelStyle="{StaticResource displayLabelStyle}"
                                     HorizontalOptions="CenterAndExpand" BackgroundColor="{StaticResource DefaultTransparentColor}"
                                     ItemsSource="{Binding ResourceAssignedProjects}" DisplayMemberPath="Project" SelectedItem="{Binding ResourceSelectedProject}"
                                     BorderColor="{OnPlatform iOS={StaticResource DefaultTransparentColor}}">
    <telerikPrimitives:RadListPicker.ItemTemplate>
        <DataTemplate>
            <Label AutomationId="SelectProjectHomePage" 
                       Text="{Binding Project}" 
                       HorizontalTextAlignment="Center" 
                       VerticalTextAlignment="Center" 
                       TextColor="{StaticResource DefaultBlackColor}"/>
        </DataTemplate>
    </telerikPrimitives:RadListPicker.ItemTemplate>
    <telerikPrimitives:RadListPicker.PopupSettings>
        <telerikPrimitives:PickerPopupSettings AcceptButtonStyle="{StaticResource acceptButtonStyle}" 
                                                   CancelButtonStyle="{StaticResource cancelButtonStyle}" 
                                                   HeaderLabelStyle="{StaticResource headerLabelStyle}"
                                                   HeaderLabelText="{x:Static resources:AppResources.Project}" 
                                                   PopupViewStyle="{StaticResource popupViewStyle}" 
                                                   HeaderStyle="{StaticResource headerStyle}"/>
    </telerikPrimitives:RadListPicker.PopupSettings>
</telerikPrimitives:RadListPicker>

Using following version:


MAUI with .NET 8.0
CommunityToolkit.Maui 9.0.3
Telerik.UI.for.Maui :- 7.0.0


Kindly help me out with this.


Thanks & Regards,

Dilip.
Yana
Telerik team
 answered on 19 Sep 2024
1 answer
104 views

Do we have any plan to support MAUI Linear ProgressBar like this way to show Progress can be divided into multiple segments.

About .NET MAUI Linear ProgressBar control | Syncfusion

 

Didi
Telerik team
 answered on 19 Sep 2024
1 answer
120 views

Hello,

Do you have a sample or documentation how to customize the dropdown of RadListPicker? If Yes, can you please provide me?

Thanks.

Yana
Telerik team
 answered on 18 Sep 2024
1 answer
107 views

Hi Team,

I recently came across one issue with RadDatePicker while working on WinUI i.e. after selecting the value from DatePicker popup and clicking on Ok button, the Method (method name in the attached sample is AcceptExecuted) that is bind to PickerPopupSettings.AcceptCommand is not getting executed. 

The same commend i.e. PickerPopupSettings.AcceptCommand gets executed in Android platform.

Have attached the project as well, you will be able to reproduce it in it.

 

Thanks,

Mohammed Rameez Raza;

Didi
Telerik team
 answered on 12 Sep 2024
0 answers
83 views

Why UI/UX is importance for mobile app development?

Adrian
Top achievements
Rank 1
 asked on 12 Sep 2024
1 answer
252 views

It appears MAUI for .NET 8 doesn't have a way to close the soft keyboard on iOS when the entry is numeric. Applying the HideSoftInputOnTapped is works for the built-in controls that specify a numeric keyboard (e.g. SearchBar) but does not work for Telerik controls such as:

<telerik:RadEntry Keyboard="Numeric"/>

Can anyone suggest a workaround for this?

I've tried implementing this concept, swapping in the RadEntryHandler, but could not get the following line to compile (it didn't let me assign a value to the InputAccessoryView).

handler.PlatformView.InputAccessoryView = toolbar;

Here is a complete description of what I'm referring to.

Thanks in advance!

Didi
Telerik team
 answered on 12 Sep 2024
1 answer
94 views

How can I clear the search box on a RadComboBox.  The only way I can clear the search text is when I use the keyboard to do so.

 

 

 

This is how I am defining the combo box.

<controls:RadComboBox
DisplayMemberPath="FullName"
DropDownButtonStyle="{StaticResource ContactDropDownStyle}"
HorizontalOptions="Fill"
IsClearButtonVisible="False"
IsDropDownClosedOnSelection="False"
IsEditable="True"
IsFilteringEnabled="True"
ItemsSource="{Binding Contacts, Mode=TwoWay}"
Loaded="OnComboBoxLoaded"
Margin="15"
OpenOnFocus="True"
Placeholder="Select Contacts"
PlaceholderColor="{StaticResource White}"
SearchTextPath="FullName"
SelectionChanged="OnContactSelectedChanged"
SelectionMode="Multiple"
TextColor="{StaticResource White}"
Unfocused="ContactComboBox_OnUnfocused"

Didi
Telerik team
 answered on 10 Sep 2024
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?