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

Rad Grid Hierarchy

2 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 16 Sep 2008, 04:15 PM
Hello,

I'm using the radgrid control, and I'm wondering where I have to set the image that shows on the left side that the user clicks on to expand to the next level.  I set enableembeddedskins to false so I could use a custom skin, but now all that shows for that expand/collapse button is a button with nothing on it, it looks dumb.  I'd like to set it back to the chevron type thing that was there before, or maybe even a +/- sign.

Thanks,
Aaron

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Sep 2008, 07:17 AM
Hello Aaron,
        In order to change the expand/collapse button images you can try out the following code in the css file.
.RadGrid_[CustomSkinName] .rgExpand 
{  
 background-image:url('images/Image1.jpg') !important;  
}   
.RadGrid_[CustomSkinName] .rgCollapse  
{  
 background-image:url('images/Image2.jpg') !important;  
}  
  
 
Princy.
0
Aaron
Top achievements
Rank 1
answered on 17 Sep 2008, 02:45 PM
That didn't seem to work,  but I think it's probably because I don't have my files in the right directories.  The telerik stuff doesn't have skin files with the css files which is what I don't really understand.  So if I just include a css file it should work right?  But can I do this:

.RadGrid .rgCollapse
{
blah blah
}

and

.RadGrid .rgExpan
{
blah blah
}

Then just link to it like a normal style sheet?
Tags
Grid
Asked by
Aaron
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Aaron
Top achievements
Rank 1
Share this question
or