PC Review


Reply
Thread Tools Rate Thread

Accessing a WebResource from a .skin file

 
 
Matthew Brealey
Guest
Posts: n/a
 
      6th Feb 2007
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("MyAssembly.skin.gif") %> 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?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP 404, when accessing WebResource.axd Jeff Microsoft ASP .NET 2 16th Mar 2010 12:03 PM
Laser Skin Treatment – A Popular Way Of Curing Various Skin Problems dr.jonver Microsoft Excel Worksheet Functions 0 11th Aug 2008 08:31 PM
Laser Skin Treatment – A Popular Way Of Curing Various Skin Problems dr.jonver Microsoft Outlook Discussion 0 11th Aug 2008 08:28 PM
Webresource css file issue jaydev Microsoft ASP .NET 1 4th Dec 2006 05:02 PM
Faststone Viewing Skin Problem, Can You De-skin it? Phil R Freeware 9 29th Jan 2006 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 PM.