Telerik Forums
UI for WinForms Forum
1 answer
6 views

Background:

https://docs.telerik.com/devtools/winforms/knowledge-base/how-to-embed-chrome-browser-in-a-winforms-application

Refer to the documentation above to embed chromium browser in WinForm.

 

Problem statement:

Whenever I embed the CefSharp Web Browser, the formatting changed. 

Observation - With embedded CefSharp Web Browser: 

  • Window State set to Maximized but it won't start with Maximized state.
  • The formatting of the words seems changed - truncated with '...'


using CefSharp;
using CefSharp.WinForms;

 

private ChromiumWebBrowser browser = new ChromiumWebBrowser(); private void frmBulletin_Load(object sender, EventArgs e) { Cef.Initialize(new CefSettings()); pnlBrowser.Controls.Add(browser); browser.Dock = DockStyle.Fill; }



Screen shot: Without embedded CefSharp Web Browser (Maximized - full screen): 

 

Screen shot: With embedded CefSharp Web Browser (around 3/4 of the screen only, the words truncated with '...'): 

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jul 2025
0 answers
5 views

Hello.

I am developing a form that has a radgrid with hierarchy and in some instances, the parent row makes changes to the child rows and vice versa.
In my case, I have the functionalities below (Among others):

  1. Both the parent and child rows have a "Check" column.
  2. The relation between the 2 is done through an "Id" column which in my DataSource, is a Guid (The column in both templates is a textbox).
  3. Every time a row is checked (Parent or child), the background changes color.
  4. Every time I check a parent row, the corresponding child rows are also checked (Which then change color).
    Same happens if I uncheck the parent row which then unchecks the corresponding child rows and resets the background color.
    This behavior is managed in the CellValueChanged event of the RadGridView.
    Checking and unchecking the child rows according to the parent, is being done directly in the DataSource which in my case is a DataTable. But the same behavior happens if I edit the grid rows directly.
  5. In the parent template, the Check column has the property EnableHeaderCheckBox set to true.
  6. The color rule is managed by a ExpressionFormattingObject added to the ConditionalFormattingObjectList property of the Check column. I also tried to set up the color rules in the Formating events but the problem I will explain below persists. Still, the color is not the only problem.

My problem here is that everything works correctly if I check and uncheck the parent rows individually. Whether they expanded or not. Depending on the check action in the parent row, the child rows update visually both in their "Check" state and in the color rule.



However, if I check/uncheck all the parent columns from the header check box, the child rows do not update visually unless I close the parent row and expand it again or if I click on all rows/scroll down or up to force them to update.
Like in this print for example. The first parent row was expanded when I checked the header check box. It was suppose to check the child rows and update the color. They are checked internally in the datasource.



There are also some issues with the header check in the child rows. In this case, I do not have the EnableHeaderCheckBox = true in the GridViewTemplate but the problem is similar. Checking all the child rows of a certain parent row through the header check, updates the value on the "Chk" column but does not update it visually with the color.

There is also a problem where in some instances if I check all the parent rows through the header check box, their color does not update.
This happens regardless of the parent rows being expanded or not.



I have to click on each one or scroll or expand them to force the visual update.
The problem seems to be related to the actual visual update. I tried multiple things to for the update but none helped. Also tried forcing the rows to expand if they were collapsed not none helped.

This is all I tried.


On all the examples, I checked the data in the datasource and everything is updated correctly. It is just the visuals that are not updating automatically.

To help understand the problem, I attached a little example with a solution similar to what I have, where this issue can be replicated.
I am using Telerik Winforms V2024.4.1113.462.

Thank you in advance for any answer.
João Carvalho

João
Top achievements
Rank 1
 asked on 28 Jul 2025
1 answer
14 views
How to invert the text color as the progress bar fills so that the text is visible on different colors of the progress bar? For example, on a green background, the text color is yellow, and on a light gray background, the text color is black or another visible color. Like here 
Dinko | Tech Support Engineer
Telerik team
 answered on 25 Jul 2025
3 answers
13 views

Hello,

I have a issue with print datagridview by a larger number of columns.

In first case (WratText = false) I cannot see all text (see image)

In the second case (WrapText = true) is row height too small and again I cannot see whole text.

Both case it has set AutoSizeRows = true;

In both cases I don't see the entire date

 Can you help me?

Thank you

Radek
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 24 Jul 2025
0 answers
7 views
Strange behavior of RadForm in the constructor after each launch of the application. What is this? A glitch? .NET 9.0
Hell
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 24 Jul 2025
3 answers
14 views

Hello,

I want to choose column by checkboxes, something like that:

I

It is possible?

Thank you for your answer

Radek
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 18 Jul 2025
1 answer
12 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
9 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
13 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
8 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
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
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
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?