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'm looking to load/save the appointments to a local file rather than a database.
I found a forum post from 2015 which seems a bit out of date.
Is there any facility for this and if not what is the suggested route? I don't want to ship a database source within my application.
Many thanks
There appears to be a bug in the column filter popup. Whenever I change one filter operator, the second filter operator changes to the same value. So I can't do something like GreaterThan X and LessThan Y.
See a video here: https://share.cleanshot.com/6Bn9FwlJ
Hi,
I have this code, thats not working like this.
Because of the DataContext, the DocumentSource wont work, because it needs obviously a different DataContext.
But I need this DataContext for the ContextMenu to work.
Is there a way I can have both? A working context menu and also bind the DocumentSource?
Greetings
Benedikt
<telerik:RadPdfViewerToolBar
Grid.Row="1"
x:Name="pdfViewerToolBarZeichnungen"
Margin="0 5 0 0"
RadPdfViewer="{Binding ElementName=pdfViewerZeichnungen}"
HasSaveButton="{DynamicResource SonderRechtPDFsSpeichernErlaubt}"
HasSignatureButton="False"
HasPercentComboBox="False"
HasPrintButton="{DynamicResource SonderRechtPDFsSpeichernErlaubt}"
/>
<telerik:RadPdfViewer
Grid.Row="2"
x:Name="pdfViewerZeichnungen"
DocumentSource="{Binding SelDatei.FilePath, Converter={StaticResource PdfDocumentSourceValueConverter}}"
DataContext="{Binding CommandDescriptors, ElementName=pdfViewerZeichnungen}"
telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True"
telerik:RadPdfViewerAttachedComponents.RegisterContextMenu="True"
Mode="TextSelection"
>
<telerik:RadListBox.DragDropBehavior>
<telerik:ListBoxDragDropBehavior AllowReorder="False"/>
</telerik:RadListBox.DragDropBehavior>
<telerik:RadListBox.DragVisualProvider>
<telerik:ScreenshotDragVisualProvider />
</telerik:RadListBox.DragVisualProvider>
<telerik:RadListBox.ItemsPanel>
<ItemsPanelTemplate>
<telerik:RadWrapPanel HorizontalAlignment="Stretch"/>
</ItemsPanelTemplate>
</telerik:RadListBox.ItemsPanel>
I use RadRichTextBox (WPF) to edit HTML documents.
These contain images with annotations.
It works as expected (except for the context menu popping up when I mark an image) and I can position the images according to my needs.
See Before.png where the red arrow points to something in the image.
When I save the HTML and load it into the RadRichTextBox again the image positioning is totally gone. See After.png
Am I missing something or does the HtmlDataProvider simply not work as expected?
Is this the best place to report bugs?
This is with 2024.4.1213.462.
To duplicate the issue:
Expect the following exception to be raised
Name | Value | Type | |
---|---|---|---|
◢ | $exception | {"Object reference not set to an instance of an object."} | System.NullReferenceException |
at Telerik.Windows.Controls.DateTimePickerGridViewEditor.Telerik.Windows.Controls.GridView.IGridViewEditor.SetText(String text) in Telerik.Windows.Controls\DateTimePickerGridViewEditor.cs:line 56
In case the zip doesn't work:
MainWindow.xaml.cs:
namespace WpfApp14
{
using System;
using System.ComponentModel;
using System.Windows;
using System.Collections.ObjectModel;
public sealed class GridValueViewModel : INotifyPropertyChanged
{
private string someValue = string.Empty;
public GridValueViewModel(string someValue)
{
this.SomeValue = someValue;
}
public event PropertyChangedEventHandler PropertyChanged;
public string SomeValue
{
get
{
return this.someValue;
}
set
{
value = value ?? string.Empty;
if (this.SomeValue != value)
{
this.someValue = value;
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(this.SomeValue)));
}
}
}
public DateTime? DateValue
{
get
{
if (DateTime.TryParse(this.SomeValue, out var value))
{
return value;
}
return null;
}
set
{
if (value == null)
{
this.SomeValue = string.Empty;
return;
}
this.SomeValue = value.ToString();
}
}
public ObservableCollection<string> SomeValueItems { get; } = new ObservableCollection<string>(
new[]
{
"cat",
"dog",
"bird"
});
}
public partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
this.DataContext = this;
}
public ObservableCollection<GridValueViewModel> Values { get; } = new ObservableCollection<GridValueViewModel>(
new[]
{
new GridValueViewModel("cat"),
new GridValueViewModel("dog"),
new GridValueViewModel("bird")
});
}
}
MainWindow.xaml:
<Window x:Class="WpfApp14.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<telerik:RadGridView
AutoGenerateColumns="False"
ItemsSource="{Binding Values, Mode=OneWay}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn
Header="Column 1">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Label
Content="{Binding SomeValue}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBox
Grid.Column="0"
Text="{Binding SomeValue, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
Visibility="Collapsed" />
<telerik:RadComboBox
Grid.Column="0"
HorizontalAlignment="Stretch"
IsEditable="False"
ItemsSource="{Binding SomeValueItems}"
SelectedItem="{Binding SomeValue}" />
<telerik:RadDateTimePicker
Grid.Column="0"
HorizontalAlignment="Stretch"
InputMode="DatePicker"
DateTimeWatermarkContent="{x:Null}"
SelectedValue="{Binding DateValue, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
Visibility="Collapsed" />
</Grid>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Window>
Hello,
is there a possibility to create a Value Filter or some sort of filtering on a CalculatedItem (https://docs.telerik.com/devtools/wpf/controls/radpivotgrid/features/localdatasourceprovider/local-calc-items)?
Best
Simon