Declined
Last Updated: 03 Mar 2022 09:43 by ADMIN
Gary
Created on: 24 Feb 2022 18:09
Category: UI for ASP.NET Core
Type: Feature Request
0
I'm looking for documentation that shows how to install Kendo for asp.net core 6 under Visual Studio 2022

Our immediate need is for the MaskedTextBox.

 

And have modified my program.cs to add:

 

// Add services to the container.

builder.Services.AddControllersWithViews()

                // Maintain property names during serialization. See:

                // https://github.com/aspnet/Announcements/issues/194

                .AddNewtonsoftJson(options => options.SerializerSettings.ContractResolver = new Newtonsoft.Json.Serialization.DefaultContractResolver());

// Add Kendo UI services to the services container"

builder.Services.AddKendo();

 

 

I copied the code from your demo into the ASP.net 6.0 Page above.

 

I added data properties to the Index.cshtml.cs model and changed the Value property on each Kendo object to point them. That works fine

 

 

The issue is that the formatting is not applied:

 

 

1 comment
ADMIN
Aleksandar
Posted on: 03 Mar 2022 09:43

Hi Gary,

I have already replied to the support case on the matter. Documentation is already available and I am pasting here the information from the support case:

I can suggest reviewing the Getting Started section and in particular the following resources:

First Steps on VS for Windows

If you use the installer the only difference for creating a .NET6 application is that you need to select the respective .NET version - .NET 6 - on step.6 in the Creating Project section. Select any of the templates and you will be good to go.

If you already have an existing .NET6 application and desire to add Telerik UI for ASP.NET Core controls to it then you can follow the steps in the following article:

Configuring a Project Manually

The article mentions Visual Studio 2019, but the steps are applicable to Visual Studio 2022 (though the screenshots might not be 100% equivalent). With VS2022 you still need to:

  1. Create the Application
  2. Add the Telerik NuGet Feed to Visual Studio
  3. Add the NuGet Package
  4. Add a Reference to Kendo.Mvc.UI
  5. Include the Telerik UI for ASP.NET Core Client-Side Resources
  6. Add a Telerik UI Component
  7. Set up the JSON Serialization

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.