As of 2024 Q4 (November), we will deprecate the .NET 7 distribution. 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
For more information about how to upgrade your project when a new version of the Telerik UI for WPF suite is released, you can check here: Project Migration to .NET 4.6.2 and .NET 6
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
I am using Telerik UI for WPF 2024 Q4\Binaries.NoXaml\WPF80\Telerik.Windows.Documents.Flow.FormatProviders.Doc.dll (version 2024.4.1106.60) on Windows 11 Pro (24H2). The program is developed using VS 2022.
It simply tries to load and display the attached DOCX file and the component crashes during layout with a null reference exception.
using var instream = File.OpenRead(path);
var openXmlRadDocProvider =
new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
var raddoc = openXmlRadDocProvider.Import(instream);
RadRtb.Document = raddoc;
Word displays this perfectly. Trying to determine if this is a Telerik bug or a "me" problem.
Thanks.
-John Reilly.
I have a RadMaskedNumericInput as follows:
<telerik:RadMaskedNumericInput Grid.Row="0" Grid.Column="1" Width="55"
Mask=""
FormatString="n2"
Value="{Binding TotalFeedVolume}"
IsClearButtonVisible="False"
/>
When I click on the left of the initial zero, it moves my cursor right in front of the decimal point. This is a bit frustrating, as I couldn't, for example, just easily make it "10" with one keystroke. Any way to fix this?
Hello,
I need to change the color of the RadVirtualKeyboardWindow's close button. At the moment it is not viewable very good. I use Material style around in my application, but it seems that it does not completly fit my needs.
I tried to change the button's beahviour like this:
<Style TargetType="telerik:RadVirtualKeyboardWindow">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="telerik:RadVirtualKeyboardWindow">
<Grid>
<!-- Fensterinhalt -->
<Border Background="{TemplateBinding Background}">
<ContentPresenter />
</Border>
<!-- Schließen-Button -->
<Button x:Name="PART_CloseButton"
Width="24" Height="24"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="5"
Background="DarkRed"
Foreground="White"
BorderBrush="Transparent"
Content="✕"
FontWeight="Bold"
Cursor="Hand"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
But that actually lead to a very long button and could not change that either:
What can I try next?
Thanks and best regards,
Ferdinand
public static void Print(List<string> files)
{
using (MemoryStream stream = new MemoryStream())
{
using (PdfStreamWriter fileWriter = new PdfStreamWriter(stream, leaveStreamOpen: true))
{
foreach (string path in files)
{
using (PdfFileSource fileSource = new PdfFileSource(new MemoryStream(File.ReadAllBytes(path))))
{
for (int i = 0; i < fileSource.Pages.Length; i++)
{
PdfPageSource sourcePage = fileSource.Pages[i];
using (PdfPageStreamWriter resultPage = fileWriter.BeginPage(sourcePage.Size))
{
// set content
resultPage.WriteContent(sourcePage);
}
}
}
}
}
var pdfViewer = new RadPdfViewer();
PdfFormatProvider provider = new PdfFormatProvider();
RadFixedDocument document = provider.Import(stream);
pdfViewer.Document = document;
var printdlg = new PrintDialog();
printdlg.UserPageRangeEnabled = true;
printdlg.SelectedPagesEnabled = true;
if (printdlg.ShowDialog() == true)
{
var printSettings = new PrintSettings(Path.GetFileNameWithoutExtension("file"), false);
pdfViewer.Print(printdlg, printSettings);
}
}
}
I've been trying to remove the thin white border line with no luck, Any help?
<telerik:RadGridView
Margin="0,5,0,0" AutoGenerateColumns="False" BorderThickness="0" BorderBrush="{StaticResource LaGrey12}"
ColumnBackground="{StaticResource LaGrey12}"
GridLinesVisibility="None" IsReadOnly="True"
ItemsSource="{Binding ContactActivityNote.ContactActivityParticipants}"
ShowColumnHeaders="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn
Width="Auto"
DataMemberBinding="{Binding ParticipationTypeId}"
Header="Type" />
<telerik:GridViewDataColumn
Width="*"
DataMemberBinding="{Binding AddressedTo}"
Header="Addressed To" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Hi,
Is it possible to get the start and end of the selected time on mouse selection event?
Regards,
kk
I have a RadGridview displaying data from a datatable using autogenerated columns. I have EnableColumnVirtualization="True" and EnableRowVirtualization="True". When I scroll through the grid, columns and rows are autosizing to display data and everything looks good for the most part.
However, I have some columns that can be excessively wide, easily twice the width of the screen. The same for rows, I occasionally have a cell where the row is excessively high.
How can I set a max width for column and row to prevent excessively wide columns or tall rows? I tried setting MaxHeight and MaxWidth, but that also constrains the user to those settings if they do intentionally want to increase those values.