p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Ajax with ASP.NET (http://p2p.wrox.com/forumdisplay.php?f=278)
-   -   chapter 7 js error when changing image src (http://p2p.wrox.com/showthread.php?t=64956)

grom January 2nd, 2008 05:04 PM

chapter 7 js error when changing image src
 
using the beginning ajax with asp.net book

I followed chapter 7 try it out on page 162. The image is clicked, the cs method is invoked, the path to the image is returned but the ChangeMe_Callback jscript functions response has and error. The response.error.description equals 'undefined'. What could be the problem?

Thanks
Glenn

grom January 3rd, 2008 12:41 PM

I found the problem. I was reference the AjaxPro.dll library. I'm using ASP.NET 2005 so I needed to reference the AjaxPro.2.dll library. Works as advertised.



All times are GMT -4. The time now is 03:58 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.