By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

Accessing a WebResource from a .skin file

P: n/a
I have the following entry in a .skin file:

<asp:button runat=server SkinId=btnSubmit ImageUrl="~/Images/
submit.gif" />

But I want to make the image an embedded resource in a different
assembly, using WebResource.axd.

How can I do this?

Expression Builders don't work in skins
<%= WebResource("") %won't work in a skin (<%=
doesn't work %>)

- there's no way of running any code, the necessary
GetWebResourceUrl() call cannot be executed.

There doesn't appear to be any way of accessing an embedded
WebResource from a skin. Is this correct?

Feb 6 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.