I have converted our solution in the last couple of days from .NET Core 2.2 to 3.0.
The last component to integrate is Kendo.Core UI MVC. The ASP.NET site compiles and runs, including the WebAPI project but the grids are not rendering data. And we have a lot of grids in a lot of templates. None work. In the debugger you can see that the following statement in the *_Read methods have data, the dsResult.Data has data ans no errors but the data does not show.
var dsResult = result.ToDataSourceResult(request);
return Json(dsResult);
This is using 2019.3.0123.
I also opened up a working POC prototype basic Kendo application that worked fine in 2.2, showing data. This was created about 6 months ago using the wizard in VS 2017. I am now using VS 2019.
The project dynamically creates the data for the read method, simple as could be. But after upgrading the project to.NET Core 3.0 the data fails to show. Again the debugger shows the result to the request formed fine. So I suspect the issue is in the binding to the grid.
Can someone at Progress shed some light on this?
If you look at the link below it is states,
"With the Telerik R3 2019 release, you will be better equipped to continue doing just that. We are so proud to release the all-new Telerik UI for Blazor, which is packed with more than 25 brand-new native components!"
In addition, we are happy to announce that our component .NET toolsets are fully compliant with the upcoming .NET Core 3.0 and are coming with tons of new controls and improvements.
https://www.telerik.com/blogs/telerik-and-kendo-ui-r3-release-2019-is-here!
Thanks
How do I display the Local DateTime in your control? Razor renders everything on the Server but I need to display DateTime values in the context of the Browser's TimeZone. Couple of scenarios:
Is there some type of event that I can tie in to that could be used to call an Action on my Controller similar to your other (Grid, Hierarchy) controls that would supply the TimeZone information?
Hello I have existing data grid in an ASP.NET Core project. I want to attach the new Kendo Filter to that grid without specifying the data source name explicitly.
Is there any way to do this?
How can I get all the visible events in the current view?
I can't use the date range to do this since I'm using a filter to filter the events by resource. For instance, if I have events A, B, C using resource 1, E, F using resource 2, after I filter the scheduler by resource 2, only events E and F will be visible. How can I get those 2 visible events in the client side?
<div class="demo-section k-content wide">
@(Html.Kendo().Chart<Telerik.Models.Testing>()
.Name("chart2")
.Title("Testing")
.Legend(legend => legend
.Position(ChartLegendPosition.Top)
)
.DataSource(ds => ds.Read(read => read.Action("MyData", "Binding")))
.Series(series =>
{
series.Column(m => m.Severity.Contains("TestingThis"), categoryExpression: m => m.Iteration)
.Name("Severity Levels")
.Aggregate(ChartSeriesAggregate.Count)
.Labels(l => l.Visible(true));
})
)
</div>
I get an InvalidOperationException: Bound columns require a field or property access expression.
The problem lies here: series.Column(m => m.Severity.Contains("TestingThis"), categoryExpression: m => m.Iteration)
Is there any way for me to filter that Severity column from my data model?
Im trying to load the datasource of a grid via jQuery, with json that has been fetched via an ajax call. I can see data in the object at runtime in the dev console, but the grid never displays the new data. What can I check
// where Lines is an array of objects of type that match the model being referenced in the grid
var lineGridDS = $("#linesGrid").data("kendoGrid").dataSource;
itemGridDS.data(Lines);
Hi All,
Want to know if this is possible and if it is how can it be achieved.
I am a .net core application with a layout using an html 5 admin templates. How can I integrate telerik .net core components in this project.
Thank you.
Hi
I have this code in ASP.NET to bind a data grid to a data source returned from EF:
Code:
--------
@(Html.Kendo().Grid<GarageBookingApp.Models.AdminViewModel>().Name("grid")
.Groupable()
.Sortable()
.Editable()
.Scrollable()
.ToolBar(x => x.Create())
.Columns(columns =>
{
columns.Bound(column => column.businessTimes.opening);
columns.Bound(column => column.businessTimes.closing);
columns.Command(column =>
{
column.Edit();
column.Destroy();
}).Width(230);
})
.DataSource(ds => ds.Ajax()
.Read(r => r.Action("GetBusinessTimes", "Home"))
.PageSize(10)
)
.Pageable()
)
The controller method is like this:
using (GarageContext gtx = new GarageContext())
{
return gtx.BusinessTimes.Select(businessTimes => new BusinessTimesEntity
{
closing = businessTimes.closing,
opening = businessTimes.opening
}).ToList();
I also notice that in the model, the properties are only "getted" but not set".
What am I missing to retrieve the database fields correctly here?
I cannot appear to install .net core mvc asp.net for the .net core 3.1 run-time is there a known issue with this yet.
All The logs I have are the .net version is
Visaual Studio 16.4.0 preview 5.0
And they are a dotnetcore 3.1 project web mvc
Restoring packages for D:\GitMaster\Freelancer\SalesOrders\RoundTableErpAuth\RoundTableErp.Web\RoundTableErp.Web.csproj...
NU1608: Detected package version outside of dependency constraint: Microsoft.CodeAnalysis 3.3.1 requires Microsoft.CodeAnalysis.CSharp.Workspaces (= 3.3.1) but version Microsoft.CodeAnalysis.CSharp.Workspaces 3.4.0-beta4-final was resolved.
NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
NU1107: Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 3.4.0-beta4-final directly to project RoundTableErp.Web to resolve this issue.
RoundTableErp.Web -> Microsoft.CodeAnalysis.CSharp.Workspaces 3.4.0-beta4-final -> Microsoft.CodeAnalysis.Common (= 3.4.0-beta4-final)
RoundTableErp.Web -> Telerik.UI.for.AspNet.Core 2019.3.1023 -> Microsoft.CodeAnalysis 3.3.1 -> Microsoft.CodeAnalysis.VisualBasic.Workspaces 3.3.1 -> Microsoft.CodeAnalysis.Common (= 3.3.1).
Package restore failed. Rolling back package changes for 'RoundTableErp.Web'.
Time Elapsed: 00:00:00.9141745
========== Finished ==========
I think it involves the classes .k-link k-menu-link but also hover text. Im wanting to change both.
Anyone got any snippets for this?