webresource

ILMerge and Web Resources

Hello all, We're attemtping to merge our DLL's into one for deployment, thus ILMerge. Almost everything seems to work great. We have a couple web controls that use ClientScript.RegisterClientScriptResource and these are 404-ing after the merge (These worked before the merge). For example one of our controls would look like namespace...

Using JQuery as an ASP.NET embedded webresource

I have an ASP.NET server control which relies on JQuery for certain functionality. I've tried to add as a webresource. My problem is my method of including the jquery file adds it to the body, or the form to be exact: this.Page.ClientScript.RegisterClientScriptInclude(...) The alternative to this is to add it as a literal in the head...

Reasons why WebResources cannot be found

Hi I am having trouble getting an embedded js file to work. I have tried all of the following: Running Cassini development server (VS2008, .NET 3.5) Added [assembly: WebResource("MyNamespace.MyScriptFile.js", "text/javascript")] above the class's namespace declaration. Script file has build action "Embedded Resource". Tried registerin...

How add a jquery webresource not in a webcontrol/servercontrol context

My situation is this: I have created a utility class on my solution that uses a method that uses jquery registered code to setfocus on a control. The problem: Using WebResources in a class thats is not a control simply dont work, i endup getting a empty script source references... something like this(script src="/WebSite/WebResource.a...

Asp.NET Webresources with better URL

Hi, it is possible to write own "webresources provider" in asp.net to change webresources URL which looks like: WebResource.axd?d=qoS8iGdUsV4f8NgR_HS-hHWgRO2CDfStRaaqn7oJ2xBuwIMbn27JNufuUMn-aVlK0& t=634013997250859375" to e.g.: /webresources/folder/script.js ? Thanks ...

Programmatically modifying an embedded resource before registering/referencing it on the page

Hi All, Firstly, "Modifying" may be the wrong term, I see a few people have posted online just asking whether they can actually modify an embedded resource. What I am wanting to to, is use a resource in my assembly as a kind of template which I would do a find and replace on before registering it on the page - is this possible? For exa...

Embedding a Bitmap in ASP.NET's WebResource

I am generating a System.Drawing.Bitmap on the fly in an ASP.NET Custom Web Server Control, and then I want to serve this bitmap as part of the WebResource, because I do not want to save it on the hosting computer. Is there a way to instruct ASP.NET to serve the generated System.Drawing.Bitmap as part of it's WebResource? (therefore mak...

Equivalent of http://www.cplusplus.com/ for C# .net

Hi Folks I've read through a lot of the "Learn C# .Net" questions just to see if this question was answered already (directly or indirectly). I program mostly in C++ so I find the website http://www.cplusplus.com/ invaluable and there's rarely a day when it is not open in my browser! However, I'm just wondering is there an C# .Net e...