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

CommandSprites.gif

1 Answer 46 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ashley
Top achievements
Rank 1
Ashley asked on 09 Sep 2010, 10:30 AM
Hi all,

I wanted to add and reference another icon for my dock so I have added another icon to the CommandSprite gif. It is consistent and should in theory work however when I replace the one located in  Telerik\RadControls for ASP.NET AJAX Q2 2010\ Skins\ Black\Dock\CommandSprite.gif  and then build my project with the new css position pointing to where my icon should be. There isn't an icon there I really would like guidance on this asap, I have attached one of the gifs and an image of what is wrong.

regards,

Ash

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 14 Sep 2010, 09:26 AM
Hi Ashley,

Replacing the sprite in the folder will not work actually, as the sprite is really placed in the dll file and you can not change it. To have the additional icon, you should use an external resources as shown in the sample project attached: raddockcustomcommnad.zip - I have used a new CSS class and your image as background. The positions are now correct, you have your image in the Command Controls section applied.

Attached is customcommnad.jpg showing the result in the browser.

Regards,
Bojo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Dock
Asked by
Ashley
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or