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

Icons or sprites not showing up in controls

1 Answer 182 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 03 Dec 2010, 04:43 PM
Using the Web2.0 skin and the Rad ListBox and GridView, I'm not seeing images - check boxes, update "finger", arrows, etc.  No custom icons are showing in any control.  However, styles are applied, colors, clean gradients, etc so the control is seeing the Web2.0 styling, but I'm feeling like I'm missing a step here.

I was under the undertanding that the embedded DLL would contain all the image files and CSS and there is/was no need to copy sprite files, CSS, or images manually.  However, I see a ton of posts about doing just that - presumably on earlier iterations.

Please advise.  Do I need to copy images?  If so, from where to where?  I opened up the Telerik folder and every control has it's own couple images - seems like a lot of cut/paste work it's not like there's one folder with Web2.0 images.

Sorry for the beginner question.   I haven't found a really clear setup workflow tutorial for VS2010.  Other documentation is great - just seems like there's a couple ways to accomplish things, which is confusing.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Dec 2010, 10:08 AM
Hello Steve,

There are two approaches, related to custom RadGrid skins:

1) use a custom skin with CSS sprites. In this case all buttons in RadGrid will appear as gray buttons and you will have to add suitable background images for them, as explained here:

RadGrid CSS Sprites


2) use a custom skin with ImagesPath. In this case you need to place all images used for buttons in the location specified by the ImagesPath property. The images must have the names listed at the bottom of this help article:

RadGrid Skins


(2) is more simple to implement, while (1) will save you a lot of HTTP requests. Please choose the approach, which suits you best. Let us know if you need more information.

All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or