Blazor Rich Text Editor in .Net MAUI Hybrid App

Image_5302_1709296703493


The blazor rich text editor is showing correctly in my .Net Maui Hybrid app.

In my razor file, I have correctly included namespace @using. But still I am getting the green 

squiggly line when I use <SfRichTextEditor>. When I move my mouse pointer over the line, it shows above error.


Kindly guide, how can I fix the error so that it can find the markup element and my intellisense will work correctly. Because of the above, intellisense doesn't work in the @code block that I write in the same razor file. Please help.


I am using Syncfusion.Blazor - 24.2.7 components.




7 Replies

VJ Vinitha Jeyakumar Syncfusion Team March 4, 2024 11:10 AM UTC

Hi Gautam Jain,



We have prepared a sample project for your reference using the .Net MAUI Blazor app with RichTextEditor component. Please check the below documentation which defines the steps to create a .Net MAUI Blazor app,



Documentation: https://blazor.syncfusion.com/documentation/getting-started/maui-blazor-app


Sample attached below,


If still issue persists, share us with the issue replicating runnable sample project to validate further.


Regards,

Vinitha


Attachment: MauiApp2_dab8934d.zip


GJ Gautam Jain March 6, 2024 12:33 PM UTC


Thanks Vinitha, your project was correctly showing the intellisense. I think the issue was that my project name contained a period (.) so that @using did not resolve correctly in _imports.razor.


I didn't rename the project name to correct it. Instead I just updated VS to 17.9.2 which fixed the problem. Earlier I was using VS 17.8.2. Looks like that fixed this period issue in latest VS.




VJ Vinitha Jeyakumar Syncfusion Team March 7, 2024 04:41 AM UTC

Hi Gautam Jain,



We are glad that your issue has been resolved.


Regards,

Vinitha



GJ Gautam Jain March 11, 2024 10:50 AM UTC


Hi,

I am trying to download that above sample you had sent. But Microsoft Defender is detecting a virus in it. Can you please resend a new file?



VJ Vinitha Jeyakumar Syncfusion Team March 12, 2024 06:49 AM UTC

Hi Gautam Jain,



Please find the sample link below,

https://www.syncfusion.com/downloads/support/directtrac/general/ze/MauiApp2_dab8934d1701430716


Regards,

Vinitha




GJ Gautam Jain March 12, 2024 12:06 PM UTC

Thanks a lot. Wish you the best!



VJ Vinitha Jeyakumar Syncfusion Team March 13, 2024 04:17 AM UTC

Gautam Jain,



You are welcome.


Loader.
Up arrow icon