HI Michael

i had a cs file like this:
namespace test
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            AjaxPro.Utility.RegisterTypeForAjax(typeof(test._Default));
        }
=====================================================
and i aspx file like this:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="test._Default" %>

<script type="text/javascript" >
test._Default.onLoading=function(b){

 var l = document.getElementById("loadinfo");
   l.style.visibility = b ? "visible" : "hidden";


}


function getdata(){
        test._Default.LongOperation(callback);

        }
        function callback(res){

        alert(res.value);

        }
mostly the same like your exapmle ,just change the namespace frome ASP
to test._default
but it doesn't work


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

Reply via email to