Telerik Forums
UI for WinForms Forum
1 answer
8 views

Simple question: I want to change the color of some tasks, to show when they are on the critical path.

So I simply want to trigger GraphicalViewItemFormatting, which does all the coloring. At the monent, the event fires when i move the mouse over the task ,which proves it all works, but I need to trigger the re-draw from my calculateCritcalPath method. 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Jul 2025
1 answer
5 views

I'm using the VisualStudio2022Dark and VisualStudio2022Light themes for my application.

I've used the waitingbar on a couple of longer loading controls (works great BTW).

However the overlay that appears over a control while waiting, always appears to be the light theme color.  On a dark theme, this is can be pretty visually jarring, especially when the associatedControl is a larger screen control.

Is there a way to set this overlay so that it uses a specific theme?  I haven't been able to get it to change at all programmatically.

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Jul 2025
1 answer
6 views

On the gridview when a user enters a filter value, I would like for the background color of that filter to change to a different color (only for the column or columns where a filter has been entered) so that users can quickly see where they entered a filter value.

Currently, if the grid has many columns the user will enter a value (sometimes forget that they did that) and wonder why they have a filtered grid.  I know that sounds crazy but end users do that!  So, I'd like the Filter Cell Backcolor to be a different color so that it's Obvious that - that particular column has a filter applied to it.

Below, I show the code I'm using in the GridData_ViewCellFormatting event.  But the problem is - is that it changes the color for the entire filtering row (across all columns)... whereas I want the back color of the "Filter Cell" to change only for that particular column or columns where a filter has been applied.

It would be greatly appreciated is someone has the answer to solving this 'problem'.

Dim filterDescriptors = GridData.FilterDescriptors
If TypeOf e.CellElement Is Telerik.WinControls.UI.GridFilterCellElement Then
    DirectCast(e.CellElement.RowInfo, Telerik.WinControls.UI.GridViewFilteringRowInfo).Height = 28
    e.CellElement.DrawFill = True
    e.CellElement.NumberOfColors = 1
    e.CellElement.BackColor = Color.Beige
    e.CellElement.Font = New Font("Verdana", 10)
    For Each filterDescriptor In filterDescriptors
        Dim propertyName = filterDescriptor.PropertyName
        Dim filterOperator = filterDescriptor.Operator
        Dim expression = filterDescriptor.Expression
        Dim filterValue = filterDescriptor.Value
        If filterValue IsNot Nothing Then
            'If e.CellElement.Text = propertyName Then
            e.CellElement.BackColor = Color.LightGreen
            Exit Sub
            'End If
            'e.CellElement.BackColor = Color.Pink
        End If
Nadya | Tech Support Engineer
Telerik team
 answered on 15 Jul 2025
1 answer
4 views

Hello,

I created Barcode Column in RadGridView according this article: https://docs.telerik.com/devtools/winforms/knowledge-base/barcode-column-in-gridview

And now I do not know how I can print gridview with Barcode Column.

Can you help me? Thank you

 

Nadya | Tech Support Engineer
Telerik team
 answered on 15 Jul 2025
1 answer
15 views

I'm having a repo with multiple projects which are using Telerik components. All of them are NET9/WPF/Windows currently

All projects are merged in one large solution (Master Sln), additionally we are using solution filters which are dependent on the Master Sln

The license file for each user is placed next to the Master Sln.

Now there are

  • App1 which is using Telerik.Windows.Controls.Ribbon.For.Wpf.Xaml
  • App2 using Telerik.Windows..Controls.Data.For.Wpf.Xaml and Telerik.Windows.Controls.GridView.For.Wpf.Xaml and a few more.

In

  • App1 there is no Telerik.Licensing.Runtime copied int the output folder
  • App2 has a Telerik.Licensing.Runtime in the output folder

But

  • App1 works
  • App2 does not work, shows the "Not Licensed" dialog and renders the "Not Licensed" pattern over the application, the reason is said to be a missing Telerik.Licensing. nuget package.

 

My question is why do I need the Telerik.Licensing.Runtime at all, since it is a compile time assembly? Additionally, all nuget packages contain Telerik.Licensing as referenced transisitive assembly.

What could be the problem why it works  with App1 and not with App2.

 

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 11 Jul 2025
1 answer
12 views

RadNavigationView colors

Given the screen capture below, I'm trying to set the colors and I must be misunderstanding something.

First, I don't need ForeColor of the menu text to change to blue once I've clicked on it. 

When I click on an item (i.e. select it and make it current) it should be BackColor of Blue and ForeColor of White. I thought this would do it .but the ForeColor goes blue.

radNavigationView1.NavigationViewElement.SelectedItem.BackColor = Color.Blue;
radNavigationView1.NavigationViewElement.SelectedItem.ForeColor = Color.White;

Then , when I hover the mouse pointer over a menu item (as I'm doing with Electronic Payments & Finding) it should be BackColor of Greay and ForeColor of Black. I'm trying to set it in SelectedPageChanging.

A screenshot of a contact form  AI-generated content may be incorrect.

What am I doing wrong?

Carl

 

Nadya | Tech Support Engineer
Telerik team
 answered on 03 Jul 2025
1 answer
9 views
I'm working with RadTrackBar in WinForms, and I'm trying to dynamically refresh the labels by triggering the LabelFormatting event after programmatically changing properties like Minimum, Maximum, or LabelStyle.

However, calling methods like Invalidate() and Update() does not seem to re-trigger the LabelFormatting event or force label reconstruction.

As a temporary workaround, I'm using this code:
radTrackBar1.Maximum += 1;
radTrackBar1.Maximum -= 1;
It does trigger LabelFormatting, but honestly feels like a hack. I'm hoping there's a more reliable or cleaner way to rebuild the labels or directly invoke the formatting logic.

I've attached a screenshot to illustrate my use case and how the labels are styled after formatting.

Does anyone know of an official or recommended approach?

pic

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Jul 2025
1 answer
14 views

Hi. I wrote a program that draws a number of connection (without any shape) in a raddiagram. Now when I click on the connection, some connections get the gear symbol and some don't. Those connections that don't have the symbol appear when I move the start point or end point of the connection. Can you explain why and how I should fix it? Here is a snippet of my code.

Dim theline AsNew RadDiagramConnection With { .StrokeThickness = 3, .StartPoint = New Point(10, 10), .EndPoint = New Point(10, 50), .Name = 1, .IsEditable = False, .IsDraggingEnabled = True, .BackColor = System.Drawing.Color.LawnGreen }

RadDiagram1.Items.Add(theline)

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Jul 2025
1 answer
18 views

Hello,

I would like to implement a custom behavior for the RadCheckedDropDownList control, where the checked items are always displayed sorted to the top of the list. Due to the large number of items, we want to make the control more transparent and manageable this way. However, no matter how I try, it seems that the EditableAreaElement and the ListElement are not staying in sync. Phantom (not typed) items constantly appear in the EditableAreaElement, or items I entered as text and are visible as tokens are missing from the CheckedItems. I’m attaching a sample code showing how I’ve tried to approach this. I would appreciate any help or suggestions on what alternative direction I should take to solve this.

Gif: While the popup is open, I start typing 'igator' (with 'Alligator' being matched in Contains SuggestMode), and it auto-completes to 'Alligatorg'. Pressed, but missing "i", and invalid token...

Thank you for your help.

Dinko | Tech Support Engineer
Telerik team
 answered on 25 Jun 2025
2 answers
176 views

I have upgraded my WinForms project to the latest version, as shown in the attached file.

When running the application inside the VS 2022, a dialog box shows with no license.

I tried the suggested resolution from:

https://docs.telerik.com/devtools/winforms/licensing/license-key#downloading-the-license-key

I also downloaded the latest license from my account.

Nothing resolved the problem.

Can you help, please?

Note: My subscription will expire by 20 Sep 2025

Nadya | Tech Support Engineer
Telerik team
 answered on 25 Jun 2025
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?