Telerik Forums
UI for ASP.NET Core Forum
0 answers
48 views

I have a brand new solution and a brand new subscription to the telerik library mvc and core

I am following all the documentation and samples but when I try to register the Kendo service, it is not recognized

Also the @html tag is not recognized either even after registering the taghelpers

Is this product not suppose to work with .net 6 or higher?

This line is not recognized

builder.Services.AddKendo();
Al
Top achievements
Rank 1
 asked on 28 Nov 2023
1 answer
65 views

Hello everyone,

 

First of all, we did not renew our telerik license and we are using the latest possible telerik version we can get for a long time.

Last week our devops publish failed because of dotnet tools download failure. We had detailed look on the fail and found out that telerik nuget feed causing the error. We literally changed nothing about versions in the code but still we get the error nonetheless. Even the latest successfull published commit is giving the same error. Publish from VS is also giving the same error and Nuget solution with telerik package source in VS still works fine with our telerik credentials.

What is the reason for that, can anyone help us?

Thanks.

 

Alexander
Telerik team
 answered on 23 Nov 2023
0 answers
965 views
I noticed that if I attempt to add the .net core nuget package to a .net 8 project with entity framework core design package installed the add will fail as the Telerik package requires older libraries that the newer entity framework is not compatible with. The Telerik blog page indicates that the latest Telerik package is fully compatible with .net 8 and I dont believe that is accurate. Any idea when this will be fixed.
Lenny
Top achievements
Rank 1
 asked on 14 Nov 2023
1 answer
195 views

Is there another (hopefully easier) way to get the packages needed to start working the ASP.NET Core components?  It took a lot of trial and error searching to finally get the Package Source working. 

I had to use the Windows Credential Manager to remove all telerik related credentials and start over with the .msi installer... I was able to go back into VS2022 and add a telerik Package Source.  When prompted, I added the same credentials I use to access my telerik.com account (from which I downloaded the .msi installer, btw).

Finally, I selected an ASP.NET Core Web app project, then Manage Nuget Packages, and was able to browse/find the Telerik.UI.for.AspNet.Core.2023.2.289 package.  Selected that, then clicked install and... it failed with what appears to be related to sub dependencies.

This whole process has been ridiculously complicated.  Is there way to get this working just so we can work through an tutorial or two?

Alexander
Telerik team
 answered on 03 Oct 2023
1 answer
220 views

I am using AspNet Core MVC 7

I am trying to create a custom HTML helper outside of a razor view. I am using the IHtmlHelper in this scenario and unfortunately outside of a razor view I cannot do something like this:

var uploader = _helper.Kendo().Upload()
                .Name("uploadFiles")
                .Multiple(true)
                .HtmlAttributes(new { style = "margin: 15px 0 5px 0;" });

Compilation error:


Error CS1061 'IHtmlHelper' does not contain a definition for'Kendo'

and no accessible extension method 'Kendo' accepting a first argument of

type'IHtmlHelper' could be found (are you missing a using directive or an assembly reference?)


 

Alexander
Telerik team
 answered on 25 Jul 2023
1 answer
644 views

A new demo application called e-shop was released concomitant with the release of Telerik UI for ASP.NET Core 2023.1.117.    Normally source code for demo programs can be installed as an option in the Control Panel.  However, in this case,  it appears, after some searching that the course code  was not installed in the C:\Program Files (x86)\Progress\Telerik UI for ASP.NET Core R1 2023\wrappers\aspnetcore\Examples folder.   Runnning the Demo Shortcut and clicking on the sample e-shop Applcation simply takes you to https://demos.telerik.com/aspnet-core/eshop/

Can anyone point me to a download link for the source files for the e-shop sample application?

Mihaela
Telerik team
 answered on 21 Feb 2023
2 answers
1.9K+ views

Hi,

We have a system with Github Actions where we build our project whilst adding the telerik nuget repository.

And then it fails with a 500 error, it works sometimes, but not always.

    steps:
    - name: Checkout ${{ github.GITHUB_REF }}
      uses: actions/checkout@v2

    - name: Setup .NET Core
       uses: actions/setup-dotnet@v1
       with:
        dotnet-version: "5.0.x"
        
    - name: Setup Node.js environment
       uses: actions/setup-node@v2.1.2

    - name: Register Nuget Packages
       env: # Or as an environment variable
        telerik_username: ${{ secrets.telerik_username }}
        telerik_password: ${{ secrets.telerik_password }}
       run: dotnet nuget add source https://nuget.telerik.com/nuget --name telerik.com --username "$telerik_username" --store-password-in-clear-text --password "$telerik_password"

    - name: Install dependencies
       run: dotnet restore Project
2021-05-25T09:07:14.2001354Z   Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Telerik.UI.for.AspNet.Core'&semVerLevel=2.0.0'.
2021-05-25T09:07:14.2008435Z   Response status code does not indicate success: 500 (Internal Server Error).
2021-05-25T09:07:14.2014387Z   Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Telerik.UI.for.AspNet.Core'&semVerLevel=2.0.0'.
2021-05-25T09:07:14.2036427Z   Response status code does not indicate success: 500 (Internal Server Error).
2021-05-25T09:07:14.2081008Z /home/runner/.dotnet/sdk/5.0.203/NuGet.targets(131,5): error : Failed to retrieve information about 'Telerik.UI.for.AspNet.Core' from remote source 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Telerik.UI.for.AspNet.Core'&semVerLevel=2.0.0'. [/home/runner/work/(project...)]
Alexander
Telerik team
 answered on 07 Feb 2023
1 answer
167 views

I'm trying to add Kendo widgets to an ASP.NET Core 6 project that uses an MVC template.  Which NuGet package do I need?  The one for ASP.NET MVC or the one for ASP.NET Core?  

I apologize if this is question has an obvious answer, I've been developing in .NET for < 1 year and was not able to figure this out via searching.

I'm also struggling to know which version of the package I need.  If I do need the ASP.NET Core package, then should I use the most current stable release? That looks like it installs a large number of .NET 7.0 dependencies I don't need.

Stoyan
Telerik team
 answered on 17 Jan 2023
1 answer
188 views

For as long as I've been using Visual Studio, IntelliSense has always defaulted to this first menu labeled "All". It contains HTML, ASP.Net, and Telerik control autocomplete options, among others. For some reason today it started to default to the "TelerikCore" menu in the second screenshot.

Before:

 

After:

I have no use for anything in this new menu, and would like IntelliSense to go back to defaulting to the first menu.

I couldn't find any IntelliSense options related to this, and we have multiple users with this same problem.

Thank you in advance.

Stoyan
Telerik team
 answered on 23 Sep 2022
1 answer
86 views

The aspnet core binaries looked like this with the previous release. See below.

Now, it appears the net6.0 is gone.Why go backwards to netstandard2.0? Where was this explained? I feel like upgrading is a huge downgrade so I should NOT do it.

We were told this 2 years ago - https://visualstudiomagazine.com/articles/2020/09/16/net-standard-future.aspx .

Stoyan
Telerik team
 answered on 11 Jul 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?