Image Sprites

3 posts, 1 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 04 Nov 2010 Link to this post

    Just floating the idea...I know it wont be in the release, or potentially available ever

    but: Sprite Framework for image button icons


  2. Answer
    Pero
    Admin
    Pero avatar
    1156 posts

    Posted 09 Nov 2010 Link to this post

    Hello Steve,

    Thank you for the suggestion. We will take it into consideration when extending the control's functionality.

    You can use image sprite for the Icons (or the button's image) in the following way:

    • Set a CSS class to the Icon, e.g. PrimaryIconCssClass="classIcon";
    • In the CSS class set the background-image and the background-position for the primary icon.
    • Set HoveredCssClass and PressedCssClass to the RadButton control
    • Cascade through the hovered and pressed classes to set the background positions for the hovered and pressed state, respectively.

    Kind regards,
    Pero
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 09 Nov 2010 Link to this post

    Oh even better! 

    Thanks for thinking of this!
Back to Top