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

[Solved] the "plus" image in hierarchy radgrid didn't show

2 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sk
Top achievements
Rank 1
sk asked on 28 May 2009, 10:54 AM
hi, i am currently developed a form with radgrid that using hierarchy radgrid. I had custom the css for the radgrid. Everything is look ok for the radgrid but... i face a problem..the hierarchy grid didn't show the "plus" images to expand and "minus" images for the collapse function. When i am mouse over the grid, there us a cursor appears and the grid can expand and collapse as usual!!! so, how can i include the image for the radgrid? i had go through the css, but i can't find the way...!!Your help is consider very much to me!!!!
Thanks.

best regards;
s.k

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 28 May 2009, 11:42 AM
Hi sk,

The hierarchy expand and collapse images can be defined by using CSS background styles or by setting image urls at runtime.

1. Using CSS - please set background images to the .rgExpand and .rgCollapse CSS classes, e.g. :

.RadGrid_MySkinName  .rgExpand
{
       background:transparent 0 0 no-repeat url('.......');
}


2. Using image urls - http://www.telerik.com/community/forums/aspnet-ajax/grid/customize-icons-instead-of-expand-and-collpase-images.aspx#761469


All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
sk
Top achievements
Rank 1
answered on 29 May 2009, 01:24 AM
Thanks a lot...its really help to me!!!
Tags
Grid
Asked by
sk
Top achievements
Rank 1
Answers by
Dimo
Telerik team
sk
Top achievements
Rank 1
Share this question
or