Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2420
Where the &&*$(* is the JavaScript coming from??
posted

I'm trying to debug a slow down in the grid and I've narrowed it down to one function called igtbl_tabChanges. I've located the js file on my website (not dev environement) and put in a debugger; statement but it wasn't firing. I can put a debugger statement in my own code and the debugger fires so it's not anything around the debugger as such.

It's coming from webresource.axd but I thought that wasn't supposed to be cached when debug=true was set (which it is).

In a mad attempt to try and get whatever it is to pickup my edited js file, I renamed EVERY ig_common folder on my pilot server to ig_common.bak and STILL it gets the JavaScript from somewhere!

Where is it coming from? Is there some weirdness going on and is the NetAdvantage server side control generating the JavaScript directly into webresource.axd from some other copy and not those scripts stored in ig_common?

Cheers, Rob.

Parents
No Data
Reply
  • 2420
    posted

    Hmm, later - looks like I was correct. Resources in webresource.axd come directly from the assembly so - so basically them must be inside the DLLs, not the standalone .js files.

    So two questions:

    1. How do you debug/modify the JavaScript? Do I have to get hold of the source for the server side code and recompile the DLLs?
    2. Do I actually need to deploy the ig_common\script folder?

    Cheers, Rob.

Children