Hi guys,
I just upgraded my AJAX.NET dlls to AJAX.NET Pro 2.0. However,
javascript complains that '_default' is undefined (was working before
the upgrade). The sample provided uses the inline code and not code
behind.
This is what I have
in the default.aspx file
<%@ Page Language="C#" AutoEventWireup="true" enableSessionState="true"
CodeFile="default.aspx.cs" Inherits="_default" ClassName="_default" %>
In JavaScript
_default.SendMessage(tbxEmail.value, tbxFirstName.value,
tbxEmail.value, tbxNewMsg.value);
and in default.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(_default));
}
Am I missing anything? It worked fine with AJAX.NET. Also, I modified
my web.config file as well. Does anyone have a sample for a code-behind
file?
Thanks
Maz
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---