B
bharath_r
Hi,
I am using ajax.net to make request to sever side C# code and getting
a dataset as html response. The problem is that i am not able to call
the server side function since ajax.net is not creating the class
variable.
I have a class EditTree in which i am declaring an ajax.ajaxmethod
'RefreshTable'. I'm doing the register on page load
'Ajax.Utility.RegisterTypeForAjax(typeof(EditTree))'. But when i try
to call the RefreshTable function from javascript as
EditTree.RefreshTable it gives an error saying 'EditTree' is
undefined. Can anyone tell me what i'm doing wrong?
Thanks
Bharath
I am using ajax.net to make request to sever side C# code and getting
a dataset as html response. The problem is that i am not able to call
the server side function since ajax.net is not creating the class
variable.
I have a class EditTree in which i am declaring an ajax.ajaxmethod
'RefreshTable'. I'm doing the register on page load
'Ajax.Utility.RegisterTypeForAjax(typeof(EditTree))'. But when i try
to call the RefreshTable function from javascript as
EditTree.RefreshTable it gives an error saying 'EditTree' is
undefined. Can anyone tell me what i'm doing wrong?
Thanks
Bharath