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
Hi,
Somehow I managed to end up with two Telerik user accounts, each with its own email address (private and work). I keep receiving emails from Progress twice as a result. Is it possible to have these two accounts merged?
Best regards,
Henk
I copy on notepad with Telerik script editor installed:
0x7A8F460B47f01B596759Bb2CaE48
I get while doing paste:
0x7A1e71B4498Ae1a1C3ec13F165a0
What kind of modification is it?
blazor server running initialization code twice in spite of render-mode="Server"-- does Telerik force server side prerender? I have done everything i can think of and have engaged microsoft directly to try to figure out what is going on. Is there something in Telerik UI for Blazor that is forcing server prerender? The bottom line is that the initial instances of my services have values set and subsequent instances, after initialization code is re-run no longer have the same values and context that my menuing and layouts are relying on for context. Has anyone run into this problem and is it at all related to Telerik components? I'm at a complete loss and have been trying to get this to work for nearly a month now.
Hello,
the Telerik Reporting Map (as a choropleth) seems to work well with Gradient colors and a rangemin/rangemax.
But there seems to be an issue with trying to use it (as a choropleth) with a defined Colorpalette of a fixed number of colors. the map only seems to pick up only two colors despite the number of colorts defined in the palette and the setting of the map colorscount property.
Also, is there a way in order to specify the distinct categories for the legend if not using a Rangemin/Rangemax?
Thanks