[Radgridview] [WinForms] Unsolvable bugs of SelectionMode within RowFormatting events

1 Answer 28 Views
GridView
Tri
Top achievements
Rank 1
Tri asked on 10 Dec 2021, 02:05 PM

Hi all,

Best greetings to you all. I am currently working with a custom RadGridView in WinForms form. I am using Office 2019 Light theme along with Visual Style Builder to customize (just start as amateur). When applying the theme, I think the theme manager is overriding my code with background color and Selection Mode which was initially subscribed to FullRowSelect but later changed to CellSelect and also the application freeze as well.

I am attaching some files in the below. 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Dec 2021, 10:18 AM

Hello, Tri,

According to the provided screenshots, it seems that you are using a custom theme. Since I am not familiar with the exact implementation, it wouldn't be easy to conclude what is the exact reason for the undesired style that you are facing. That is why I would kindly ask you to have a look at the following tutorial demonstrating how to customize a theme in Visual Style Builder: https://docs.telerik.com/devtools/winforms/knowledge-base/customize-a-theme 

In addition, I would recommend you to consider using the CellFormatting event instead if you need to set local style settings: https://docs.telerik.com/devtools/winforms/controls/gridview/cells/formatting-cells 

In case you are experiencing any further difficulties, it would be greatly appreciated if you can share a sample runnable project demonstrating the undesired style that you are facing. Thus, we would be able to make an adequate analysis of the precise case and provide further assistance.

I hope this information helps.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Tri
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or