Hi,

I think there is still something wrong in your code. Is it possible
that you send me your converter and the AjaxMethod class? Send it to
my private mail address or contact me with IM.

Regards,
Michael



On 10/5/06, dimkaspb <[EMAIL PROTECTED]> wrote:
>
> Just got that to work by using eval expression in a callback function
> as follows:
>
> function MyCallBack(response)
> {
>       // var obj = response.value; <--- incorrect use, returns a
> string
>        eval("var obj = " + response.value + ";"); <-- correct
>        alert(obj.Name);
> }
>
> Is this a proper way of using a json return string?
> In a server method, I serialize into json string with my custom
> converter class.
> But I would prefer to just return my object. I guess I have to also
> override GetClientScript() method for that?
>
> 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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to