Syncfusion components not working in NET 6 project

Hello.

I've built a NET 6 project and added syncfusion components to it.

However they are not working correctly.

Would you please help me on trying to figure otu whats going on?

Thanks.

P.S. - The project is attached


Attachment: SfTest6_8d8f0b8b.zip

3 Replies

BS Buvana Sathasivam Syncfusion Team October 4, 2022 03:31 AM UTC

Hi Paulo,


Greetings from Syncfusion support.


We have checked your shared sample. We suggest you refer to the scripts on the _Host.cshtml page to resolve the issue on your application. Now, the dropdown list is able to show the popup.


<script src=https://cdn.syncfusion.com/blazor/20.3.47/syncfusion-blazor.min.js type="text/javascript"></script>


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfTest6-2017536110


Documentation: https://blazor.syncfusion.com/documentation/common/adding-script-references#cdn-reference


Please check the above sample, and kindly let us know if you have any other concerns.


Regards,

Buvana S



PP Paulo P October 4, 2022 06:17 PM UTC

Hi.

Now the dropdown works first time but still behaves as before after that.


The fact is that I migrated the project directly from NET 5.

Here are the steps I performed:

1) Deleted bin and object folders

2) Updated Nuget packages in VS 2022

3) Created new program.cs from old program.cs and startup.cs


Is there any documentation from Syncfusion with guidelines for migrating a project from NET5/VS2019 to NET6/VS2022?


Thank you.




UD UdhayaKumar Duraisamy Syncfusion Team October 5, 2022 02:04 PM UTC

Hi Paulo,


We suggest you refer to the below public blogs regarding “Blazor .net 5 to .net 6 migration”.


  1. https://blazorschool.com/tutorial/blazor-wasm/dotnet5/update-from-dotnet-5-to-dotnet-6-682674
  2. https://learn.microsoft.com/en-us/aspnet/core/migration/50-to-60?view=aspnetcore-6.0&tabs=visual-studio
  3. https://medium.com/informatics/blazor-server-project-11-migrate-from-asp-net-core-3-1-to-6-0-3b7e24edd6b4


Also, we have documentation that briefly explains about how to include the Blazor DropDown List component in your Blazor Server App and Blazor WebAssembly App using Visual Studio in both .NET 5 and .NET 6.


Getting Started Documentation: https://blazor.syncfusion.com/documentation/dropdown-list/getting-started


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Regards,

Udhaya Kumar D


Loader.
Up arrow icon