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

Sprite Support

4 Answers 99 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Vovici Derek
Top achievements
Rank 1
Vovici Derek asked on 08 Jan 2011, 12:54 AM
The latest release notes indicate Sprite support "Added: Support for sprites"
But I couldn't find anything in the documenation or demo site on how to use this new feature.

Is there any information available on how to use sprites for toolbar images?

Thanks

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Jan 2011, 07:45 AM
Hello,


I hope the following documentation will shed some light on implementing your requirement.
Sprite Guide
CSS Skin File Selectors
Understanding the Skin CSS File



-Shinu.
0
Yana
Telerik team
answered on 12 Jan 2011, 09:28 AM
Hello Vovici,

You are right that this feature is not documented yet, and we'll make sure to add it shortly.

"Support for sprites" means that there is a new property EnableImageSprites for the whole toolbar and EnableImageSprite for every toolbar button - replaces the toolbar image elements with a sized span for easier use of sprites. Setting ImageUrl overrides this behavior, so it should be removed for EnableImageSprite/s to work. These properties are also added for RadMenu.

Regards,
Yana
the Telerik team
Browse the vast support resources we have to jump start 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.
0
Matthew
Top achievements
Rank 1
answered on 19 Jan 2011, 01:25 AM
Is it possible to get a small code sample on how to implement a sprite using these new properties?  Even something small just to get me started.

Thanks,
Matt
0
Yana
Telerik team
answered on 19 Jan 2011, 10:44 AM
Hi Matt,

I've attached a simple page to demonstrate the approach. This example will be included in our documentation. Please download it and give it a try.

Kind regards,
Yana
the Telerik team
Browse the vast support resources we have to jump start 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
ToolBar
Asked by
Vovici Derek
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Yana
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or