HI Michael,
 
I was trying the ajax for .Net framework 2.0. and having one problem.
I have small project having one Default.aspx and cs file and namespace Payroll.
I have followed all the steps given by you in  "A quick guide how to start".
I have build up the structure like AjaxPro2.
there is only one link on the page i.e. "Click Me"
But If i click on "Click me" link then it is giving error on page "Payroll is undefined".
This is my Default.aspx
 

<%@ Page Language="C#" AutoEventWireup="false" Inherits="Payroll._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" method="post" runat="server"></form>
   
    <a href="" Me</a>
    <script type="text/_javascript_" defer="defer">
    function clickme(){
    Payroll.Demo.callme(doTest1_callback);
    }
    function doTest1_callback(res) {
 var p = res.value;
 alert("FirstName = " + p.FirstName + "\r\nFamilyName = " + p.FamilyName + "\r\nAge = " + p.Age);
 p = null;
}
    </script>
</body>
</html>

Plese help me out from this problem
--
Suhas Tarihalkar.
Mob. 9850770248

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