I have a repository set up on my site. I set up AJAX, I think, by checking the box for partial rendering in the module definitions section. It seems to do the trick because I can click to expand the ratings or comment section and it does it without refreshing the whole page. Unfortunately it breaks some of the functionality we had in place previously. We had modified the download button to make it a visit button instead. We have a url associated with a repository item and clicking the visit button will spawn a new window to visit the url in. Now, with AJAX set up, clicking on the visit button will toss some sort of error. The message reads:
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '<script>window.open('.
You can see this in action by visiting http://www.spottedfox.com and clicking on any one of the Visit buttons.
So now the questions. First, did I take the best approach to implement AJAX in the repository by checking the 'Allow Partial Rendering' box? If I did, any ideas what could be the cause of the error message? The AJAX thing is a whole new deal to me, so I don't quite know what's going on in there with it.
Thanks in advance,
Brent