Questions tagged [webresource]

93 questions
11
votes
9 answers

WebResource.axd not found

I can't get script files to load on my website. Everything else works fine. I haven't tried ScriptResource.axd however. I have verified this issue exists on both cassini and IIS7. I have verified my 64bit 4.0 web.config contains the mapping for…
Paul Knopf
  • 8,943
  • 21
  • 69
  • 131
9
votes
2 answers

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…
Chris S
  • 62,476
  • 49
  • 214
  • 238
4
votes
1 answer

MS Dynamics CRM, Web resources (.html) and "custom" Doctype

I'm trying to create heat map on bing maps ajax control using some data from CRM database. For that I created web resource and uploaded it to CRM. I set up button which when clicked open my web resource (.html) with heat maps. Because I'm using…
rjovic
  • 1,167
  • 2
  • 15
  • 34
4
votes
1 answer

CRM 2013 - JavaScript to identify parent entity type on Appointments (Account or Contact)

CRM 2013 customizer/developer here. I'm new to JavaScript and I need some help on the query I can use in an OnLoad event in CRM 2013. On the 'Appointments' entity I need to set the value of a custom field (option set) based on entity type of it's…
4
votes
2 answers

ILMerge and Web Resources

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…
John Hoven
  • 4,013
  • 2
  • 25
  • 30
4
votes
1 answer

Return JavaScript as static resource from a Jar archive

Is there a way to return JavaScript that is located in a .jar archive? At the moment I have the following structure: webapp resources scripts SomeJavaScript.js ... List of such .js files is very large. And there is…
Alexandr
  • 8,399
  • 11
  • 54
  • 92
4
votes
2 answers

How do I get the URL for a Java Jersey Client request?

Using Jersey in Java I have a response object Client c=Client.create(); WebResource r = c.resource("http://example.com/path"); MultivaluedMap params = new MultivaluedMapImpl(); params.add("param1",…
epeleg
  • 9,293
  • 16
  • 91
  • 144
3
votes
3 answers

Jersey REST: Importing headers from a Map into a WebResource instance

I am trying to take in an arbitrary set of HTTP headers and dump it into a WebResource instance. The WebResource interface allows one to do this with query parameters as it offers both a webResource.queryParam(key, value) and …
David Karam
  • 314
  • 3
  • 12
3
votes
2 answers

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

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…
James
  • 449
  • 3
  • 7
3
votes
1 answer

Get an error, probably WebResource.axd

I have some trouble, I think the problem is the Webresource.axd file. I am using ASP.NET Web Form with .NET 4.5 and Visual Studio 2012 Web Developer Express. I declare in my aspx file an treeview, and in the codebehind I allocate data to the…
Higune
  • 589
  • 3
  • 11
  • 29
3
votes
4 answers

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…
cbp
  • 23,600
  • 27
  • 118
  • 194
2
votes
1 answer

Dynamics CRM: Select multiple records to add to a grid

I have 1:N relationship between entity A and B. I want to have a grid on the form of entity A with a button on the right corner (something like the + button of the out of box crm grid) when I click it I want to see a model window showing a grid with…
Walloud
  • 195
  • 4
  • 17
2
votes
2 answers

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

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…
Robben_Ford_Fan_boy
  • 7,544
  • 7
  • 55
  • 80
2
votes
1 answer

Jersey REST extending methods

I was wondering if it is possible to do the following trick with jersey restful resources: I have an example jersey resource: @Path("/example") public class ExampleRessource { @GET @Path("/test") @CustomPermissions({"foo","bar"}) public…
zlobi.wan.kenobi
  • 308
  • 4
  • 17
2
votes
1 answer

Asp.NET Webresources with better URL

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.:…
Jan Remunda
  • 7,504
  • 8
  • 49
  • 60
1
2 3 4 5 6 7