Telerik Forums
UI for WPF Forum
0 answers
41 views

I'm using central package management, where my Directory.Build.props has folliwing entries:

 

<ItemGroup>
    <PackageVersion Include="Telerik.UI.for.Wpf.NetCore.Xaml" Version="2024.1.423" />
    <PackageVersion Include="Telerik.Windows.Controls.Data.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.DataVisualization.for.Wpf.Xaml" Version="2024.3.924" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.Extensions.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.Ribbon.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.GridView.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Input.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Navigation.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.RibbonView.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Data.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Diagrams.Core.for.Wpf.Xaml" Version="2025.2.707" />
</ItemGroup>

As you can maybe see, 

Telerik.UI.for.Wpf.NetCore.Xaml has 2024.1.423
Telerik.Windows.Controls.DataVisualization.for.Wpf has 2024.3.924

when using the manage nuget packages dialog from within visual studio it does not report that any updates are necessary, but the build tells me that (of course) there is a version mismatch,

The dialog even tells me that there is a newer version:

What could be the problem that it doesn't get updated or is not found to require an update?

 

Martin
Top achievements
Rank 1
 updated question on 15 Jul 2025
1 answer
45 views

I using the <telerik:RadDatePicker> 

 DisplayFormat = (Long or short) only there I need a customer format how we archive.

 

Example : 1 July 2025, 1 JUL 2025

Stenly
Telerik team
 answered on 14 Jul 2025
0 answers
36 views

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?

Zack
Top achievements
Rank 1
 asked on 09 Jul 2025
1 answer
26 views

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

Stenly
Telerik team
 answered on 09 Jul 2025
0 answers
27 views
Hello, 
I'm trying to merge several PDF files into one and then print them.
I am using version 2022.2.621.

My code looks like this



       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);
               }
           }
       }

My problem is, that befor print pdf looks like this

But after print



What I discoverd, that file befor print has more fonts then after.
Befor:


After



How can I handle this problem?
John
Top achievements
Rank 1
 asked on 08 Jul 2025
0 answers
44 views

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>

Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 07 Jul 2025
0 answers
16 views

Hi,

Is it possible to get the start and end of the selected time on mouse selection event?

 

Regards,

kk

kk
Top achievements
Rank 1
 asked on 04 Jul 2025
0 answers
35 views

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.

Clint
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 30 Jun 2025
0 answers
32 views

Is there a property I can set so that the RadMaskedNumericInput field only shows the thousands separator when the value gets over 1,000? It doesn't look great that the commas appear before the value is high enough to need them.

Shawn
Top achievements
Rank 1
Iron
Iron
 asked on 30 Jun 2025
0 answers
26 views

The data in all of our multi column combo boxes has a key value always as the first column in the grid. We want our users to be able to enter one of those key values then hit tab to select it. However, in some cases, just entering the key value doesn't cause the record with that key value to be at the top, so when the user hits tab it selects the top record instead of the record matching the key value entered.

See example below with US states as values:

 

In scenarios like these, I'd like to be able override the default selection logic and see if there is a record where the text in the search box exactly matches a key value, if so, select that value instead of the first value.

This was the last thing I tried inside the PreviewKeyDown event but it seemed to freeze and then not work as expected.

if (e.Key == System.Windows.Input.Key.Tab)
{
    string typedText = MultiColumnComboBox
        .FindChildByType<TextBox>()
        .Text
        .Trim();

    if (MultiColumnComboBox.DropDownContentManager.DropDownElement is RadGridView gridView)
    {
        string keyFieldName = gridView.Columns[0].UniqueName;

        var itemToSelect = gridView.Items
            .OfType<DataRow>()
            .FirstOrDefault(row =>
            {
                var keyValue = row[keyFieldName];
                return keyValue != null &&
                       keyValue.ToString().Equals(typedText, StringComparison.OrdinalIgnoreCase);
            });

        if (itemToSelect != null)
        {
            gridView.SelectedItem = itemToSelect;
        }
    }
}

Shawn
Top achievements
Rank 1
Iron
Iron
 asked on 27 Jun 2025
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?