Telerik Forums
UI for WinForms Forum
1 answer
126 views

Environment

  1. Telerik UI (RadGridView)
  2. Theme: Fluent / FluentDark
  3. Multiple row selection enabled

Issue

When multiple rows are selected in a RadGridView and one of the selected rows is subsequently deselected, the text in some cells of the deselected row appears to disappear.

The cell values still exist and are rendered correctly after another repaint occurs, such as when selecting a different row.

Steps to Reproduce

  1. Apply the Fluent theme.
  2. Select multiple rows.
  3. Deselect one of the selected rows.
  4. Observe that some cells in the deselected row appear blank.
  5. Select another row and notice that the text is displayed again.

Investigation Results

While the row is selected, the appearance is correct:

  • Background: Selected color
  • Foreground: White

However, after deselection:

  • The background is updated correctly to the unselected color (White).
  • The foreground appears to remain White, as it was in the selected state.

As a result, the cell seems to have:

BackColor = White

ForeColor= White

making the text effectively invisible.

Behavior with FluentDark Theme

The same steps do not produce a visible issue when using the FluentDark theme.

However, based on our investigation:

  • BackColor= Black
  • ForeColor = White

It appears that the foreground color may also remain in the selected-state color after deselection in FluentDark.

When the theme is subsequently switched from FluentDark to Fluent, the issue becomes visible because the colors effectively become:

BackColor= White

ForeColor = White

and the text can no longer be seen.

Expected Behavior

When a row is deselected, the cell foreground color should be properly restored to the default color for the unselected state.

Question

Is it necessary to explicitly reset the ForeColor in events such as CellFormatting or RowFormatting, or is this behavior considered a bug in the Fluent/FluentDark themes?

Attachments

  1. Three screenshots demonstrating the issue with the Fluent theme.(1-3)
  2. Three screenshots demonstrating the issue when switching from FluentDark to Fluent.(4-6)

Based on the screenshots, the background color appears to be updated correctly, while the foreground color of only some cells remains in the selected-state color until a repaint occurs, after which the display returns to normal.

 

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Aug 2026
1 answer
60 views

Hello,

your DataGridView control includes the SaveLayout feature, but it saves everything, including font size and other visual settings. I would like to save only selected properties—for example, just the conditional formatting. I’m aware that serialization is an option, but it’s lengthy and not user‑friendly. Is it possible to enhance SaveLayout so it can save only specific properties?

Regards

Radek

Nadya | Tech Support Engineer
Telerik team
 answered on 04 Aug 2026
1 answer
75 views

Hello,

is there a chance to add this functionality to the label?

Thanks for your reply.

Radek

Nadya | Tech Support Engineer
Telerik team
 updated answer on 03 Aug 2026
1 answer
71 views

I'm enjoying using the Panorama control and it is quite a useful too for listing a lot of items or showing a User Selection screen (which I will want to use it for eventually. But I will not always know the size of the screen that the control will be used on and so hard setting the RowsCount property just feels like poor programming. See the attached image (DatabaseList) for example.

Is there a way to have the RowsCount dynamic and take up as much room as it can without showing half a tile at the bottom of the screen or form please? If there was a way to they have this refresh if and when the form is resized that would be even better.

Thank you in advance.

Simon

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Jul 2026
1 answer
68 views

Product Information

  • Product: Telerik UI for WinForms
  • Control: RadGridView
  • Version: 2025 Q4

Desired Behavior

When multiple rows are selected, I would like to deselect only the clicked row if the user clicks a row that is already selected.

Current Implementation

I implemented the following logic in the event:CurrentRowChanging

void Grid_CurrentRowChanging(object sender, CurrentRowChangingEventArgs e)
{
 if (e.CurrentRow != null && e.NewRow != null)
 {
  if (e.CurrentRow.IsSelected && e.NewRow.IsSelected)
  {
   e.Cancel = true;
   e.NewRow.IsSelected = false;
  }
 }

}

Behavior Observed

Case 1

Initial state:

  • Row A, Row B, and Row C are selected.
  • CurrentRow = Row A.

Action:

  • Click Row B.

Result:

  • Row B is deselected.
  • CurrentRow remains Row A.
  • The visual state is updated correctly and Row B is no longer highlighted.

This works as expected.

Case 2

Initial state:

  • Row A, Row B, and Row C are selected.
  • CurrentRow = Row A.

Action:

  • Click Row A (the CurrentRow itself).

Result:

  • Row A is removed from the selection.
  • The row is no longer contained in .SelectedRows
  • However, the entire row remains highlighted in blue.

Investigation Results

I confirmed that is not fired when the user clicks the CurrentRow itself, since the current row is not changing.CurrentRowChanging

After clicking the CurrentRow, I checked the following properties:

row.IsSelected == false
rowElement.IsSelected == false
row.IsCurrent == true
rowElement.IsCurrent == true
rowElement.ContainsFocus == true

radGridView1.SelectedRows.Contains(row) == false

Therefore, the row appears to be completely deselected internally.

Additional Tests

I tried forcing UI updates using the following methods, but the visual appearance did not change:

radGridView1.TableElement.Update(GridUINotifyAction.StateChanged);

radGridView1.TableElement.Invalidate();

radGridView1.Refresh();

 

Question

Although the row is no longer selected:

row.IsSelected == false

radGridView1.SelectedRows.Contains(row) == false

the entire row remains highlighted in blue.

Is this expected behavior caused by the CurrentRow/Focus visual state, or could this be a rendering issue?

Additionally, is there a recommended way to achieve the following behavior?

  • Keep the CurrentRow unchanged.
  • Preserve the remaining selected rows.
  • When the CurrentRow is clicked again, remove its visual selection highlight so that it appears deselected.

Any guidance or recommended approach would be greatly appreciated.

Thank you.

---------------------------------------------------

The issue looks like it can be resolved with the following code:

 private void GridView_RowFormatting(object sender, RowFormattingEventArgs e)
 {
     if (e.RowElement.RowInfo.IsSelected)
     {
         e.RowElement.DrawFill = true;   
         e.RowElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;  
         e.RowElement.DrawBorder = true;
         e.RowElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder; 
     }
     else
     {
         e.RowElement.DrawFill = false;
         e.RowElement.DrawBorder = false;
     }
 }

 private void GridView_CellFormatting(object sender, CellFormattingEventArgs e)
 {
     if (e.CellElement.RowInfo.IsSelected)
     {
         e.CellElement.DrawFill = true;
     }
     else
     {
         e.CellElement.DrawFill = false;

     }
 }

However, the ">" indicator for the CurrentRow and the border that remains around the selected cell are still displayed.

Is there a way to remove these as well?

Please refer to the attached image.

Nadya | Tech Support Engineer
Telerik team
 answered on 31 Jul 2026
1 answer
48 views

There is nothing in the textbox, but I do have AutocompleteMode to Suggest.  It also did this with None.

The control is bound to a DataTable.

any suggestions on helping solve this would be appreciated.

 

* Also it looks  like the "Blank" is at the bottom instead of the top.

Blank is not an option I added to the control.

 

Thanks,

 

Rog

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Jul 2026
1 answer
54 views

I have a control on a form that is working fine most of the time. But I'm finding that if I want to print a PDF file from elsewhere in the form (with the PDF Viewer on another tab that is not visible) then the LoadDocument is not working. Is this by design please?

Kind regards,

Simon

Nadya | Tech Support Engineer
Telerik team
 answered on 27 Jul 2026
1 answer
34 views
I have set the FitToWidth and FitFullPage all to no avail
Nadya | Tech Support Engineer
Telerik team
 answered on 24 Jul 2026
1 answer
49 views
I have set the Doc in Parent Container, FitFullPage, and FitToWidth properties, all to no avail
Nadya | Tech Support Engineer
Telerik team
 answered on 24 Jul 2026
1 answer
54 views

Hi,

I don't think there is currently a way to drag components directly on the designer for RibbonBar sub-elements. 

For example, when adding a new button in a RadRibbonBarGroup, there is no way to change its order : I would like to put it between existing buttons.

The same is also impossible when adding a RadRibbonBarButtonGroup inside a RadRibbonBarGroup, there is no way to move buttons from the RadRibbonBarGroup to the newly created RadRibbonBarGroup .

Also, the RadLabel element doesn't exist in the list of possible elements to add.

For all these problems, there is no other way than modifying the Designer.cs code. And it's a real pain...

Thank you.

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Jul 2026
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)
Form
Chart (obsolete as of Q1 2013)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?