The following 2 links may help. VS 2005: http://learn.iis.net/page.a... VS 2008: http://learn.iis.net/page.a
Problem I started writing an ASP.NET Custom Server Control, where I wanted an Image to be Embedded Resource of the Assembly itself, so that, I do not need to ship the images separately, but surprisingly it did not work straightway for me. The following line was not working for me: writer.AddAttribute(HtmlTex... Page.ClientScript.GetWebRes... "ferrari.jpg")); Ok, lets elaborate what I did and what I missed, Step 1, I created my ClassLibrary...