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

Grid in High contrast mode

5 Answers 137 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Madzie
Top achievements
Rank 1
Madzie asked on 27 Dec 2014, 12:33 AM
It is found that some parts of the controls in grid are not visible in High contrast mode - please find attached the difference :
especially the filter and paging links (next / previous)

5 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 29 Dec 2014, 12:35 PM
Hello Madzie,

Thank you for bringing our attention to this. We will strive to update the themes for future releases -- as a workaround until then, consider adding the high-contrast styles via the styles on your page.

Regards,
Alex Gyoshev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Madzie
Top achievements
Rank 1
answered on 29 Dec 2014, 11:21 PM
I tried few of them but nothing seems to work. Can you suggest what is the appropriate one to try for the page next image links ?
0
Madzie
Top achievements
Rank 1
answered on 29 Dec 2014, 11:22 PM
I tried few of the options, but nothing seems to work right.
could you suggest the appropriate one for all paging related controls (specifically the next/prev links here)
0
Accepted
Alex Gyoshev
Telerik team
answered on 30 Dec 2014, 08:28 AM
Hello Madhuri,

You need to set the background-image on the elements that you want to have icons, within a @media query:

@media screen and (-ms-high-contrast: active) {
    .k-grid .k-icon, .k-grouping-dropclue, .k-drop-hint, .k-column-menu .k-sprite {
        background-image: url("http://cdn.kendostatic.com/2014.3.1119/styles/HighContrast/sprite.png");
    }
}

Regards,
Alex Gyoshev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Madzie
Top achievements
Rank 1
answered on 30 Dec 2014, 05:33 PM
Thanks for the reply. This worked with a little changes to the earlier version of telerik grid :

@media screen and (-ms-high-contrast: active) {
.t-grid .t-pager, .t-pager .t-numeric, .t-pager .t-page-i-of-n, .t-pager .t-link, .t-pager span, .t-pager input, .t-pager .t-page-size, .t-grouping-row p{
background-image: url("http://cdn.kendostatic.com/2014.3.1119/styles/HighContrast/sprite.png");
}
}
Tags
Grid
Asked by
Madzie
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Madzie
Top achievements
Rank 1
Share this question
or