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

Hy,

I created a blank MAUI APP project in NET 9.0 and added the following dependencies:

Also adding the dependency to the Telerik package (the last version):

It reports the following warning to me:

Found conflicts between different versions of "System.Security.Cryptography.Pkcs" that could not be resolved.

If I remove the reference to the Telerik package, the warning disappears.

Any help?

Thanks in advance

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Jan 2025
2 answers
32 views
hello, is there a way to insert a new line into richtexteditor on maui? Enter is a new paragrah
Didi
Telerik team
 answered on 09 Jan 2025
1 answer
39 views
is there a way to get a textchanged event on the richtexteditor?
Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Jan 2025
0 answers
62 views

I have a data form that uses a CollectionView and includes Entry (also tried with RadEntry) control.  When I enter data into the entry everything works as expected.

The problem arises on scroll.  When the Entry is scrolled out of view and then is scrolled back into view the setter of the bound property is updated with an empty string.  I can see nothing that generates this update, other than just a refresh forced by the collection view.

The behavior I observe is this say I update my Entry with "Joe" and then scroll so the control is not visible and then visible again.  When the Entry becomes visible:

  • The setter is called using the correct value "Joe"
  • The setter is called again with empty string (basically clearing data from my object)

Because of this behavior if the user scrolls the control any data they entered is removed.

Why is this extra call with the empty string occurring?

Joe
Top achievements
Rank 2
Iron
Veteran
Iron
 asked on 06 Jan 2025
1 answer
110 views

Hi,

I am trying to style a CollectionView to have groups, but I don't want the group to be collapsable, and I want to remove the indicator.

How would I style this?

Thanks

-Joe

Didi
Telerik team
 answered on 20 Dec 2024
2 answers
82 views

Dear Telerik,

Please let me know how I can view Icons of Telerik font icons & XAML related? Now I only can check some of them on https://docs.telerik.com/devtools/maui/font-icons/examples-icons

Please help me.

Regards,

Xuan.

 

 

 

Joe
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 19 Dec 2024
1 answer
41 views

How can we change the background color and text color of the PdfViewerNavigateToPageToolbarItem entry?

The RadPdfViewerToolbar and ButtonToolbarItemView are set with styling.

Masha
Telerik team
 answered on 18 Dec 2024
1 answer
70 views
I was trying to have a Popup attached to a button on the page toolbar (iOS).  The page crashes when doing this.  Is this possible?
Elena
Telerik team
 answered on 12 Dec 2024
0 answers
71 views

Dear all,

After added Telerik Theming to my project by using  <UseTelerikTheming>true</UseTelerikTheming> then rebuild my project --> It's OK.

But for the next rebuild - It's alwayls fails with error messages like 'The name 'InitializeComponent' does not exist in the current context' for all files in TelerikTheming folder.

How can I resolse this misktake now?

Thank alots.

 

 

Le
Top achievements
Rank 1
Iron
 asked on 11 Dec 2024
1 answer
242 views

We recently discovered that our .NET MAUI APP (8.0.92) throws a Java.Lang.RuntimeException with Font asset not found /data/user/0/app.xyz/cache/telerikfont.ttf.

Here's the full exception detail:

Java.Lang.RuntimeException:
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Java.Interop.JniEnvironment+StaticMethods.CallStaticObjectMethod (Java.Interop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065)
   at Java.Interop.JniPeerMembers+JniStaticMethods.InvokeObjectMethod (Java.Interop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065)
   at Android.Graphics.Typeface.CreateFromAsset (Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065)
   at Microsoft.Maui.FontManager.LoadTypefaceFromAsset (Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)

 

We do have a "Font" folder in our Application, but in our understanding this shouldn't be a problem anymore.

We register those fonts, which are in the Fonts folder:

.ConfigureFonts(fonts =>
{
	fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
	fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
	fonts.AddFont("FontAwesomePro-Light-300.otf", "FontAwesomeLight");
	fonts.AddFont("FontAwesomePro-Regular-400.otf", "FontAwesomeRegular");
	fonts.AddFont("FontAwesomePro-Solid-900.otf", "FontAwesomeSolid");
});


In addition to that, we have a custom CustomFontsProvider for the fonts we use in the RadPdfProcessing lib for .NET MAUI. Those fonts are however in the RAW.


public class CustomFontsProvider : Telerik.Windows.Documents.Extensibility.FontsProviderBase

{ public override byte[] GetFontData(Telerik.Windows.Documents.Core.Fonts.FontProperties fontProperties) { string fontFileName = fontProperties.FontFamilyName + ".ttf"; if (fontProperties.FontFamilyName == "Verdana") { if (fontProperties.FontStyle == FontStyles.Normal && fontProperties.FontWeight == FontWeights.Normal) { fontFileName = $"Verdana.ttf"; } elseif (fontProperties.FontWeight == FontWeights.Bold) { fontFileName = $"Verdana-Bold.ttf"; } } var fileStream = FileSystem.Current.OpenAppPackageFileAsync(fontFileName).GetAwaiter().GetResult(); var memoryStream = new MemoryStream(); fileStream.CopyTo(memoryStream); return memoryStream.ToArray(); } }

 

How can we resolve this issue? Any support is appreciated.

 

Didi
Telerik team
 updated answer on 10 Dec 2024
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?