I'm trying to call an AJAX method from one page from another page, but I can't seem to get the AjaxPro.Utility.RegisterTypeForAjax method to work properly.
The page I'm loading is Go_Scan (//Go/Scan.aspx) When I register that type within the page like this, everything is fine: AjaxPro.Utility.RegisterTypeForAjax(GetType(Go_Scan)) Then, from the Scan.aspx page, I want to call an AJAX method located in another page (//Go/Ping.aspx), so I use the RegisterTypeForAjax method in Go_Scan's Page_Load event, like this: AjaxPro.Utility.RegisterTypeForAjax(GetType(Go_Ping)) With this, my code won't compile, and I can't seem to figure out how to get it to work. I'm sure there's another way to reference the Ping.aspx page, but I don't know how... can someone help me with this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ -~----------~----~----~----~------~----~------~--~---
