Sunday, March 11, 2012

Debugging post backs

Hi Shane,

Check that the script you are registering is XHTML compliant, which means the contents of the script node either need to be entity encoded (& --> & and so on), or place the contents inside a CDATA element. Our next CTP will work better with these cases, but in general script should work just fine as long as it's compliant.

Thanks,

Eilon


hello.

i think that the 1st step should be to use fiddler. by doing this you can see what you're sending to and getting from the server side. if the info looks ok, the next step might be to debug the javascript code. when i need to do this, i allways add the atlas.js file to the project and then i add a debugger; instruction where i'd like the code execution to stop. then i only have to open the page on IE and try to understand why something isn't working as expected :)

No comments:

Post a Comment