Hi There,
I have started messing around with NetTiers, and I like it. The
problem is that I am trying to do something like the following:
<AjaxPro.AjaxMethod()> _
Public Function GetOffice() As TList(Of Offices)
return DataRepository.OfficesProvider.GetAll()
End Function
-- Now, this works fine if I am doing anything server-side, but when it
gets sent up to the client, I get a StackOverflowException. When I F11
through it after the end of the function, it appears that there is an
endless loop going through all of the properties of the Offices class
(which also has other sub-collections). I have found that if I return
it as a dataset, all is good, but I'd like to know why this wouldn't
work with AjaxPro. I am assuming it's because I need to manually
serialize the thing myself, but I have hundreds of tables to deal with,
and I don't feel like making a serialization class for each of them...
Any ideas?
Thanks,
se
--~--~---------~--~----~------------~-------~--~----~
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/
The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---