Questions tagged [webresource]

104 questions
12
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
  • 9,568
  • 23
  • 77
  • 142
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
  • 64,770
  • 52
  • 221
  • 239
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,207
  • 2
  • 16
  • 37
4
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
  • 334
  • 3
  • 13
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,085
  • 2
  • 28
  • 32
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
  • 9,213
  • 12
  • 62
  • 102
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
  • 10,347
  • 17
  • 101
  • 151
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
  • 643
  • 3
  • 13
  • 31
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
  • 25,252
  • 29
  • 125
  • 205
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
  • 5
  • 17
2
votes
0 answers

MS CRM Web Resource is not visible on Android 7.0 device

I have a Web Resource with a button and some functionalities for some Entities in MS Dynamics 365 CRM. I have checked the checkbox "Enable for tablet" when I imported the solution for it. Also every time when I am using it in some Form I am checking…
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
  • 8,494
  • 11
  • 64
  • 85
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
  • 6
  • 19
1
2 3 4 5 6 7