Hi, if there is a child-parent relationship you have to write a converter. The alternative is to use DataTable i.e. or a simple struct only for Ajax requests.
Can you send me the source code of the class? Regards, Michael On 10/3/06, dimkaspb <[EMAIL PROTECTED]> wrote: > > Thanks again for a quick response. > The object is "loaded" correctly as I do so all the time and I can > check in the debugger after the Load() method that the object has been > populated successfully. Only when I get to the Serialize() method the > debugger freezes. > > I also modified the code to return the object itself but I get the same > error "JIT Debugging failed with the following error: Access is > denied." > > I guess that could be related to a stack overflow. I will try with a > "simple" object. > > What are my alternatives? Do I have to write a converter? > I would prefer to be able to serialize my object into a json string > that could then be used on the client-side as I understand it is > trivial enough to use json on the client-side. > > Thanks, > Dima > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ Skype: callto:schwarz-interactive MSN IM: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
