As of 2024 Q2, we will deprecate .NET Framework 4.0, .NET Framework 4.5, and .NET Core 3.1 distributions. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.
We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post:
Product Update for Enhanced Performance and Security (telerik.com)
For more information about how to upgrade your project's .NET Framework version, you can check the following MSDN article:
Migration Guide to .NET Framework 4.8, 4.7, and 4.6.2 - .NET Framework | Microsoft Learn
In my code I have a implemented method which in some cases can append new text for existing archive entry. But when I tried this code it gives me a System.ArgumentException: 'An item with the same key has already been added. Key: dir/file.csv'. This exception occurs in situations when given entryName will be something like this 'dir//file.csv''. This small difference does not allow archive.GetEntry(entryName) return something else then null.
public void Insert(Stream stream, string entryName, bool append = false)
{
using var baseStream = FileSystem.FileStream.New(ArchivePath, FileMode.Open, FileAccess.ReadWrite);
using var archive = new ZipArchive(baseStream, ZipArchiveMode.Update, false, null, compressionSettings, encryptionSettings);
var entry = archive.GetEntry(entryName); // null
var entryStream = append
? entry?.Open() ?? archive.CreateEntry(entryName).Open() //exception cause already exists
: archive.CreateEntry(entryName).Open();
stream.Position = 0;
if (append) entryStream.Seek(0, SeekOrigin.End);
stream.CopyTo(entryStream);
entryStream.Flush();
}
I am learning game programming in C# with WPF using MSVS-2022.
For this MSVS-2022 offers two types of project:
WPF Application
I googles these and still cannot figure out what is the difference - they both are for WPF application,
Which one is more suitable for game programming?
And will the code written using WPF Application - could it be copied to a WPF App (.NET Framework) and run without corrections?
Hello, telerik,
I tried to upgrade my old WPF apps from 2021 R3 to 2023 R3, which was based on .NET 5.0.
When running the upgrade wizrad, it says that no Telerik project found,though there are 45 projects.
OTOH my old WPF apps which has been made on .net 4.6 upgraded to 2023 R3 without problem.
So, I opened C:\Program Files (x86)\Progress\Telerik UI for WPF R3 2023\binaries folder,
but there are every .net version dll folders except .NET 5.0.
Is .NET 5.0 not supported any more or something I forget to read ?
thanks.
Kang
Hi
I attached a simple program that import a html file (with format and images) and export it.
The exported file is very different from the original, without format and without images.
Thank you
Luigi
Good day. I have functionality in my WPF application that allows the user to change the font size, font style, and theme variations at runtime, see code below. This functions perfectly when it works.
The issue I am having is that when making changes to these values at runtime, the changes intermittently stop being applied. The way I understand theming is that I should be able to make these changes at runtime and they are automatically applied. Something is getting borked up causing the changes to stop being applied during runtime.
C#, WPF .NET 6
Theme: Office 2019
Telerik Version: 2023.1.117
I'm using the package Telerik.UI.Wpf.NetCore.Xaml for all controls. Theme packages come from No XAML.
// Theme Color Variation// High Contrast
Office2019Palette.LoadPreset(Office2019Palette.ColorVariation.HighContrast);
// Dark/Light Mode
if (RegistryHelper.IsWindowsDarkMode())
Office2019Palette.LoadPreset(Office2019Palette.ColorVariation.Dark);
else
Office2019Palette.LoadPreset(Office2019Palette.ColorVariation.Light);
// Change Font Family
Office2019Palette.Palette.FontFamily = new FontFamily(Settings.Default.FontFamily);
// Font Size
Telerik.Windows.Controls.Office2019Palette.Palette.FontSizeS = 10;
Telerik.Windows.Controls.Office2019Palette.Palette.FontSize = 12;
Telerik.Windows.Controls.Office2019Palette.Palette.FontSizeL = 14;
App.xaml for Telerik:
<prism:PrismApplication x:Class="Wpf.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:prism="http://prismlibrary.com/">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- Telerik -->
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Input.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</prism:PrismApplication>
Our organization has an app that we're porting from .NET/WPF to React. We have several grids, that utilize this:
```
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using Telerik.WinControls;
using System.Configuration;
using System.Data.SqlClient;
using Telerik.WinControls.UI;
using Telerik.WinControls.Data;
using System.Data.OleDb;
using System.Linq;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
using System.ComponentModel;
```
Instead, I'd like to use KendoReact.
Before I rewrite the entire thing in NextJS/KendoReact, are there some tools and techniques that I could use to save time?
Hi,
I use windows8 theme but I need to make more clear the accent color without change the header color.
In other themes (for instance, Visual studio 2019) this option is allowed.Thank you
Luigi