Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolBar > CSS Sprite

Not answered CSS Sprite

Feed from this thread
  • Teodorico avatar

    Posted on Mar 11, 2010 (permalink)

    Hi,
    Is it possible to have a single image (sprite) and load the individual button images using CSS?

    I have tried using .rtbIcon, but if the property ImageUrl is not set on the button, the element <img class="rtbIcon" .../> is not rendered.

     

    Thanks.

    Reply

  • Posted on Mar 12, 2010 (permalink)

    Hello Teodorico,

    I hope the following documentation links would be helpful in start off.

    CSS Skin File Selectors

    CSS sprites

    Also I found the following link which explains how to use sprite image to show different images. I hope this will give you some insights on using CSS sprites.

    http://www.lightpostcreative.com/image-sprites-tutorial/

    -Shinu.

    Reply

  • Tsvetomir Tsonev Tsvetomir Tsonev admin's avatar

    Posted on Mar 12, 2010 (permalink)

    Hello,

    We plan to introduce sprite support for the Q2 2010 release, but for the moment using the .rtbImage element is the best solution. You have to set the ImageUrl to point to 1x1 transparent image and use CSS to set its size and background from the sprite.

    I hope this helps.

    Best wishes,
    Tsvetomir Tsonev
    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.

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolBar > CSS Sprite
Related resources for "CSS Sprite"

[   ASP.NET ToolBar Features  |  Documentation  |  Demos  |  Telerik TV   |   Self-Paced Trainer   |  Step-by-step Tutorial  ]