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

[Solved] Syntax for using the embedded image resource

1 Answer 154 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 23 May 2008, 05:45 PM
What is the syntax (or is it possible) to reference one of the embedded resources from telerik?  I have created a grid that has a custom CommandItemTemplate containing a Telerik Toolbar.  I want to create a refresh button that is pulled from the telerik dll.  I noticed that some of the build it ImageUrl properites use a synxax like:  

mvwres://Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.Grid.Refresh.gif

If I cut and paste this into the Toolbar Button image, it doesn't seem to work. 

Am I totally off base here?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 May 2008, 03:46 PM
Hello Randy,

You can use RadStyleSheetManager as in this code library project:

Including custom StyleSheets as WebResources to RadStyleSheetManager 

Note, that not only a stylesheet file is included, but also several images.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Randy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or