Sprite Support

5 posts, 0 answers
  1. Vovici Derek
    Vovici Derek avatar
    2 posts
    Member since:
    Jul 2008

    Posted 07 Jan 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Jan 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 12 Jan 2011 Link to this post

    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.
  5. Matt
    Matt avatar
    51 posts
    Member since:
    Nov 2007

    Posted 18 Jan 2011 Link to this post

    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
  6. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 19 Jan 2011 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017