Telerik Forums
UI for WPF Forum
0 answers
152 views
The RadWebCam for WPF control currently relies on the SharpDX library to render the video feed. With 2024 Q4 we will replace SharpDX with the SkiaSharp library. This decision was taken because the SharpDX library is no longer maintained since March 2019.


Martin Ivanov
Top achievements
Rank 1
 asked on 10 Sep 2024
0 answers
257 views

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

Martin Ivanov
Top achievements
Rank 1
 asked on 28 May 2024
0 answers
333 views

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


Stenly
Top achievements
Rank 1
 asked on 30 Jan 2024
0 answers
5 views

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?

Helmut
Top achievements
Rank 1
 updated question on 06 Aug 2025
0 answers
4 views

Is this the best place to report bugs?

This is with 2024.4.1213.462.

To duplicate the issue:

  1. With VS 2022, create a WPF (.NET Framework) application,
  2. Delete MainWindow.xaml and MainWindow.xaml.cs
  3. Unzip the attached file, place MainWindow.xaml and MainWindow.xaml.cs from the zip where the old files were or use the pasted text below
  4. Build and run the application
  5. Put focus on a cell in a row in the grid and type a letter

Expect the following exception to be raised

NameValueType
$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>

Stephen
Top achievements
Rank 1
 asked on 05 Aug 2025
0 answers
7 views

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

Simon
Top achievements
Rank 1
 asked on 01 Aug 2025
1 answer
11 views

Hello, I want to add a custom palette with its own names and colors in WPF. But seems like I can only work with built-in MainPalette, HeaderPalette, AdditionalContent

The image below shows my intention. I want to add not only 2 of them, but as many as I want.

Stenly
Telerik team
 answered on 29 Jul 2025
1 answer
13 views
Is there a way to use RadMaskedDateTimeInput with RadDateTimePicker?  Users want to be able dates in MM/dd/yyyy format (without typing the slashes) or use the calendar picker.  I believe RadDateTimePicker uses RadWatermarkTextBox which does not have tight input control.
Martin Ivanov
Telerik team
 answered on 29 Jul 2025
0 answers
13 views
When adding a graphic to the diagram, adjust its width and height, and set the border to 2(or other value)

After exporting the PDF, the thickness of each border is inconsistent.At the same time, the thickness of the border is also different from the set value,I feel like the border has been stretched and enlarged as a whole,You can test Microsoft Visio, it doesn't have this issue.

      Test code use the sample sdk project:ExportToPDF_WPF

Please refer to the image

wu
Top achievements
Rank 1
Veteran
 updated question on 25 Jul 2025
0 answers
15 views

Product: Telerik UI for WPF

Control: RadDatePicker (custom inherited as NewDatePicker)

Target Framework: .NET Framework 4.7

 

Issue Summary:

W're facing an inconsistency in behavior with the RadDatePicker control between development and test environments.

  • We have a custom control NewDatePicker that inherits from RadDatePicker.
  • At runtime, we bind a SelectedDate value (e.g., Jan 23, 2025) to the control.
  • When the user clicks to open the calendar popup:
    •   In development, the calendar popup correctly opens to SelectedDate.
    •   In test, the calendar popup opens to today's date (July 2025) instead of the bound SelectedDate.

 

Steps to Reproduce:

  1. Use a RadDatePicker or inherited control.

        2. Set SelectedDate = DateTime.Now.AddMonths(-6) (e.g., Jan 23, 2025).

        3. Run the application and open the DatePicker calendar.

        4. Observe the calendar view:

  •  Dev: shows January 2025 (as expected).
  •  Test: jumps to current date (July 2025), even though SelectedDate is Jan 23.

What We Tried:

  • Manually calling this.DisplayDate = this.SelectedDate.Value; inside OnPreviewMouseDown.
  • Using Dispatcher.BeginInvoke(..., DispatcherPriority.Loaded) to defer the update.
  • Accessing and setting PART_Calendar.DisplayDate explicitly.
  • Ensured that SelectedDate has a valid value.
  • Tried handling Loaded, OnApplyTemplate, and custom SyncDisplayDate() method.
  • Everything works well in development — but not in the test environment.


    Questions:
    1. Is there a recommended approach to ensure the calendar opens to the correct month consistently in all environments?

Note: In Test environment First time click that time its show the current Date secound time I click that time it show the expected output. 

 

  • the below the calendar need to show the 23 jan 2025 but its show current date.

Parthiban
Top achievements
Rank 1
 updated question on 24 Jul 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?