<ugghhhh need some help here mucho confused>

.NET 1.1 VS 2003 VB.NET

with the old framework I could reference in the register utility a
class other then my class for the page that has the registration
utility on it without any hassle - after upgrading I can no longer
accomplish this?  here is what I have:

Public Class MapPage
    Inherits System.Web.UI.Page

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

        AjaxPro.Utility.RegisterTypeForAjax(GetType(AjaxConnector))

   End Sub
   End class

   Public Class AjaxConnector
   Inherits System.Web.UI.Page

<AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)>
Public Function getMapStartUp()
       ....
  End Function
   End class

javascript:

function getMapStartUp() {
 MapPage.AjaxConnector.getMapStartUp(ajaxResponse_Map);
}

function ajaxResponse_Map(response){
  if (response.error != null) {
        alert(response.error);
    return;
  } else {
        if (response != null && response.value != null) {
          var rmap = response.value;
          mapimg.src = rmap.url
          xmin = rmap.xmin
          xmax = rmap.xmax
          ymin = rmap.ymin
          ymax = rmap.ymax
        }
  }


fiddler give me: null; r.error = {"Message":"Object reference not set
to an instance of an
object.","Type":"System.NullReferenceException"};/*

any help is sincerely appreciate!

Kevin


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to