Kendo grid Issue while doing server side paging and client side sorting ,filtering in dot net core mvc
Hi all,
I am using Kendo UI with Angular. I want to show some data in my Kendo Grid but I am stuck at a point as the json data I am using is of multiple level.
Json data:
{
I want to show data in the below form:
College name Student name Teacher name
test 1 Dan
test 2 David
Your valuable response will be appreciated. Please feel free to contact back if any question.
Thanks,
Akash Verma
I am using a radgrid which has edit form for each row. When I click on the EDIT, needdatasource event is triggered and databinding, which I dont want it to do because the query for the grid takes a fews seconds to run. I set on the needdatasource event so that the code doesn't run if the EDIT link is clicked on. But this makes the radgrid disappear. I have tried making the grid visible again and enable but doesnt show the grid. Code snippet below.
protected void rg_OrderSummary_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
if (refreshGrid)
{
(sender as RadGrid).DataSource = LoadResults();
}
else
{
rg_OrderSummary.Visible= true;
updGrid.Update();
}
}
}
How can I get it the grid to show without having to run databind again through need datasource event please?
using (var memoryStream = new MemoryStream(bytes)) { using (var workBookImporter = SpreadImporter.CreateWorkbookImporter(SpreadDocumentFormat.Xlsx, memoryStream)) { foreach (var worksheetImporter in workBookImporter.WorksheetImporters) { int rowCounter = 0; foreach (var rowImporter in worksheetImporter.Rows) { if (rowCounter < skipHeaderRows) { rowCounter++; continue; } var county = rowImporter.Cells.ElementAt(6).Value; counties.Add(county); } } } }
I have an MVC 3 application that has been running well so far on a Windows 2012 web server. We are in the process of upgrading the application, AS IS, to a Windows 2022 server. And are running into the following error:
[ArgumentNullException: Value cannot be null. Parameter name: value] System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic, CacheInternal cache) +11948326 System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +141 System.Web.Caching.AspNetCache.Insert(String key, Object item, CacheInsertOptions options) +107 Telerik.Web.Mvc.Infrastructure.Implementation.CacheProvider.Insert(String key, Object value) +54 Telerik.Web.Mvc.Infrastructure.Implementation.Cache.Get(String key, Func`1 defaultValueFactory) +146 Telerik.Web.Mvc.Infrastructure.Implementation.ControllerContextCache.GetControllerContext(RequestContext requestContext, String controllerName, String areaName) +204 Telerik.Web.Mvc.Infrastructure.Implementation.AuthorizationContextCache.AuthorizationContextFactory(RequestContext requestContext, String controllerName, String actionName, String areaName) +52 Telerik.Web.Mvc.Infrastructure.Implementation.<>c__DisplayClass1.<GetAuthorizationContext>b__0() +44 Telerik.Web.Mvc.Infrastructure.Implementation.Cache.Get(String key, Func`1 defaultValueFactory) +95 Telerik.Web.Mvc.Infrastructure.Implementation.AuthorizationContextCache.GetAuthorizationContext(RequestContext requestContext, String controllerName, String actionName, RouteValueDictionary routeValues) +346 Telerik.Web.Mvc.Infrastructure.Implementation.ControllerAuthorization.IsAccessibleToUser(RequestContext requestContext, String controllerName, String actionName, RouteValueDictionary routeValues) +151 Telerik.Web.Mvc.Infrastructure.Implementation.NavigationItemAuthorization.IsAccessibleToUser(RequestContext requestContext, INavigatable navigationItem) +367 Telerik.Web.Mvc.UI.NavigationItemContainerExtensions.WriteItem(TItem item, TComponent component, IHtmlNode parentTag, INavigationComponentHtmlBuilder`1 builder) +315 Telerik.Web.Mvc.UI.<>c__DisplayClass4.<WriteHtml>b__3(MenuItem item) +36 Telerik.Web.Mvc.Extensions.EnumerableExtensions.Each(IEnumerable`1 instance, Action`1 action) +159 Telerik.Web.Mvc.UI.Menu.WriteHtml(HtmlTextWriter writer) +352 Telerik.Web.Mvc.UI.ViewComponentBase.Render() +87 Telerik.Web.Mvc.UI.ViewComponentBuilderBase`2.Render() +15
At this point, I am fairly certain this has to do with some dll mismatch between the 2 servers. The 2022 server has MVC3 installed on it.
Any ideas what I should be looking at?
My understanding is if you had a license at the time a project was built then you could always use that version, is this still true? I need to make a couple small edits to a legacy asp.net MVC app that was built when I had an asp.net controls license for version 2021.2,511 but I no longer have the license as I now only have a license for the Blazor controls.
I've switched machines since then and am therefore unable to build the project without restoring the packages from the telerik nuget feed. I understand I cant upgrade to a newer version but just need to make a few minor edits that have nothing to do with the telerik controls in the project. How can I restore the packages in this project so it can build?
Thanks.
How to set fontsize for the elements/child nodes of tree of RadTreeView ?
Below is my sample code: (setting as in below code is not working)
<telerik:RadTreeView x:Name="treeview"
ItemTemplate="{StaticResource xx}"
ItemsSource="{Binding yy}"
ItemsIndent="0">
<telerik:RadTreeView.ItemContainerStyle>
<Style BasedOn="{StaticResource xy}" TargetType="telerik:RadTreeViewItem">
<Setter Property="IsExpanded" Value="{Binding ab, Mode=TwoWay}" />
<Setter Property="FontSize" Value="20" />
</telerik:RadTreeView.ItemContainerStyle>Hi Team,
We need a help related to "RadNumericTextBox" as we are using it with "AM Charts", we want to manage the charts and set resolution to a fixed number or set it to auto, so that it should get managed as per size of table and chart, the Telerik details we are using, Telerik version 2014.3.1024.45 with Asp.Net Webforms, Kindy request you to please give a solution.
Thank you