Hi

I put all my ajax methods to a Page class(Called Page) that inherits
from System.Web.UI.Page, all my .net pages Inherited the Page class.

here is the problem that i have, when doing multiple ajax call in the
same class, the 2nd call is not responding.

I tried this solution
http://groups.google.com.vc/group/ajaxpro/browse_thread/thread/2f1090a4ae0268ba/9d423713d27e0812?q=multiple+javascript+call&rnum=3#9d423713d27e0812

but i couldn't get it to work.

addNamespace("MyAjax");
MyAjax.Page = Class.create();
MyAjax.Page.prototype = (new AjaxPro.Request()).extend({
        GetMyClass: function(callback) {

                return this.invoke("GetMyClass", {}, callback);
        },
        initialize: function() {
                this.url =
"/esolution/ajaxpro/MyAjax.Page,MyAjax.ashx";
        }

})

MyAjax.LoadContent = new MyAjax.Page();
MyAjax.LoadContent(CategoryID,SubCategoryID,PageNumber,CallBackLoadContent)

Please help!


thanks


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