This is a migrated thread and some comments may be shown as answers.

Grid View Theme with Alternate Hot Tracking row when selected

3 Answers 154 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 28 Apr 2016, 05:41 PM

Hi,

My issue is as follows. I have created a custom theme and applied it to my application. The grid has alternating rows colors (white and gray), a selected row color of light green and a hot tracking color of medium green. Everything works correctly except this one case. When a row is selected and is colored light green, if you move the mouse over that row, the hot tracking color changes from medium green to gray.

It almost looks like there is an alternate hot tracking color. I checked the theme and there are four colors I can set for hot tracking and I set them all to the same medium green to check if that was the issue. It is not. It is also not just showing the regular row color since it is gray for the white rows also.

I have attached two images that show the issue.

Any help with this would be awesome.

Thanks

Ben

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 29 Apr 2016, 08:12 AM
Hello Ben,

Thank you for writing.

Without taking a look at the custom theme I cannot say why you are not getting the expected results. I want to recommend you to examine one of the default themes and see how the styles are set there. The attached image shows where you need to compare the row states. The following article shows how you can extract the predefined themes:  Loading Predefined Themes.

I hope this will be useful. 

Regards,
Dimitar
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Ben
Top achievements
Rank 1
answered on 02 May 2016, 04:17 PM
I got to the bottom of the issue.
In Visual Style Builder you not only have to select the repository item for each state buy also have to select or unselect the DRAW FILL state for each item state. For example, the Row.isSelected.isCurrent.HotTracking state had my HoverFill selected from the repository correctly, but the DrawFill property was set to False so it was showing the BackGround Color for that state which was gray, instead of the repository fill color.
I have only been using the VSB tool for about a month. It is VERY deep in what you can do, which is both awesome and frustrating.
Thank you for your help on this!

Ben
0
Dimitar
Telerik team
answered on 03 May 2016, 12:03 PM
Hello Ben,

I think once you get used to the tool you will be easily able to achieve what you want. The themes are big and complex and it is always a good idea to see how the predefined ones are built. Nevertheless, I am glad that you have found a solution for your case. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Themes and Visual Style Builder
Asked by
Ben
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Ben
Top achievements
Rank 1
Share this question
or