Skip to content

paulyoder/WebResourceExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Retrieving an Embedded Resource

I am trying to retrieve the ResourceStyle.css embedded resource by using the Page.ClientScript.GetWebResourceUrl() method. However, I receive a 404 resource not found error when I try to browse to the url that GetWebResourceUrl returns.

I have already set the build action for ResourceStyle.css to Embedded Resource and added the [assembly: WebResource()] attribute in the Default.aspx.cs file.

If you know how to resolve this issue, please fork the repository and make the necessary changes and then send me a pull request. Look at the Default.aspx.cs file for the pertinent code.

Thanks for your help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published