Telerik Forums
UI for WinForms Forum
0 answers
3 views

On the chat UI below there are 2 white bubbles with the time of day over them. I'd like to add some text to this time of day so instead of saying  "8:32 PM" it says, for example,  "8:32 PM Contract # 5"

Is that possible and if so, how do I accomplish this?

Using version 2024.2.514

Thanks

Carl

Carl
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 30 May 2025
1 answer
5 views

Hello,

When using the RadCheckedDropDownList control with the ShowCheckAllItems mode enabled, setting the Filter property correctly displays the items according to the filter. However, when pressing 'Check all', the CheckedItems collection still contains all items, not just the ones currently visible based on the active filter.

How can I use these two features together correctly?

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 29 May 2025
1 answer
34 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 24 May 2025
2 answers
31 views

Hello Telerik team,

After upgrading to Telerik WinForms 2025.Q2, I’ve encountered several issues related to form layout rendering at runtime, which were not present before the update.

Enviroment:

.NET Framework 4.8.1
RadForm (not RadRibbonForm)
DPI awareness set to system in app.manifest
AutoScaleMode = Dpi

Could you please confirm if these layout behaviors are intentional in 2025.2 and whether there is an official workaround or setting to restore the previous behavior?

Thank you!

ALEXANDRU
Top achievements
Rank 1
Iron
 answered on 24 May 2025
2 answers
15 views

Hello Telerik Support Team,

i found a solution for using enum values in a grid in the knowledge base:
https://docs.telerik.com/devtools/winforms/knowledge-base/gridview-comboboxcolumn-enum

I tried to adapt it for my purpose:

My enum and column definitions are:

[Flags]
public enum SpartenFlags
{
    [Display(Name = "Keine")]
    None = 0,
    Strom = 1,
    Gas = 2,
    Wasser = 4,
    Abwasser = 8,
    Breitband = 16,
    [Display(Name = "Fernwärme")]
    Fernwaerme = 32
}

gridViewComboBoxColumn2.EnableExpressionEditor = false;
gridViewComboBoxColumn2.FieldName = "Sparten";
gridViewComboBoxColumn2.HeaderText = "Sparten";
gridViewComboBoxColumn2.MinWidth = 25;
gridViewComboBoxColumn2.Name = "Sparten";
gridViewComboBoxColumn2.Width = 45;
gridViewComboBoxColumn2.DataSource = EnumWrapper<TBM_HAProzessPlugin.SpartenFlags>.EnumToList<TBM_HAProzessPlugin.SpartenFlags>();
gridViewComboBoxColumn2.DisplayMember = "Name";
gridViewComboBoxColumn2.ValueMember = "ID";

 

I override the view with a CustomGridImageCellElement (derived from GridDataCellElement) to display an icon depending on the combination of flag values. This works fine so far. But the filtering only works with single values. I would like to have a checkbox for each flag value and the filtering working correclty for every combination, that includes the checked values. Is there a way to archieve this?

 

Thank you for your help.

Best Regards,

Stephan

 

Stephan
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 23 May 2025
1 answer
10 views

I've been trying to crack this nut for years without resolution.  It's come full circle back to my desk so I'm once more exploring how to resolve this - I ask this question after hours of trying to find something inside the chain of objects that is RadDock with zero success and here's the worst part, it's such an obvious UI element that I'm shocked I've not been able to locate anything that might be the cause while in "Edit UI Elements"

ANY suggestions or hints is very appreciated!!

Here's the problem:

Adding control to ToolWindow and setting that control's .Dock property = Fill, the control DOES NOT FILL the entire available ToolWindow space.

*NOTE* I'm calling it "ToolWindow's Space" because I think that's what's doing it but IT MIGHT BE THE PARENT, "ToolTabStrip"!!! Please correct me if I'm wrong

Anyway, there's a 3-pixel GAP between the Panel and the ToolWindow (1st image "TW_BAD") I've painted the area I'm talking about in RED so you can see exactly what I'm referring to.

This has got to be either a Padding or a Border but regardless, how do I turn that off?  Hide it?  Make it Visible = Collapsed?

If anyone has this figured out, I can sure use a hand right now.

 

Kindest regards,

Curtis.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 23 May 2025
1 answer
24 views

Hi!

How do I get the first visible item in RadListView?
And how do I set it up?
Like the TopItem property of a WinForms ListView.

Nadya | Tech Support Engineer
Telerik team
 answered on 09 May 2025
1 answer
27 views

Hey folks!

I need to display a lengthy list of "cards" or perhaps "cells" horizontally.  There will be NO vertical scrolling.  It would be nice if I can scroll horizontally by click+dragging.

Each "card/" will have an Image (thumbnail on the left or top) and some text (on the right or bottom)

 

I've used ListView for multiple UI requirements but I cannot figure out how to get the items to display "all horizontally" - the control wants to fill with Items until the last item that would normally have gone beyond the right side of the control and instead, it wraps to the next row below.  This "wrapping" is what I need to prevent.

I've never used CardView but maybe this is the way I should go?

All thoughts/comments would be appreciated!

Kind regards, 

LK

Nadya | Tech Support Engineer
Telerik team
 answered on 07 May 2025
1 answer
18 views

Hi,

I have develop a custom tagger in order to format some specific words.

My problem is that the format is applying to this words even if they are used as strings (inside quotes).

I would like that the format only applies when the word is not in quotes.

In. Ex:

WORD -> Apply Format

"WORD" -> Do not apply format

 

This is my code:

using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using AutoMapper.Internal;
using Telerik.WinControls.UI;
using Telerik.WinForms.Controls.SyntaxEditor.Taggers;
using Telerik.WinForms.Controls.SyntaxEditor.UI;
using Telerik.WinForms.SyntaxEditor.Core.Tagging;

namespace Simulation.UX.Forms.Controls.Neptune
{
    public class CustomTagger : CSharpTagger
    {
        public static readonly ClassificationType CustomClassificationType = new("Custom");
        public static readonly Dictionary<string, ClassificationType> WordsToClassificationType = new();
        public static readonly TextFormatDefinition Format = new(new SolidBrush(Color.DarkGoldenrod));

        private readonly List<string> _words;

        public NeptuneTagger(RadSyntaxEditorElement editor, List<string> words) : base(editor)
        {
            _words = words;
        }

        protected override Dictionary<string, ClassificationType> GetWordsToClassificationTypes()
        {
            Dictionary<string, ClassificationType> baseTypes = base.GetWordsToClassificationTypes();

            _words?.ForAll(w =>
            {
                if (!baseTypes.ContainsKey(w))
                {
                    baseTypes.Add(w, CustomClassificationType);
                }
            });

            return baseTypes;
        }
    }
}
 
Dinko | Tech Support Engineer
Telerik team
 answered on 30 Apr 2025
0 answers
16 views

I am sure this is a setting somewhere, but I can't find it for my life.  In some cases, we have where Grid columns exceed the width of the visible grid.  When that happens, the grid data is centered in the visible area.  How can we prevent that?  

 

Any help would be great appreciated.

 

TIA

 

 

 

 

Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
 asked on 29 Apr 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?