Hi,
I have this web method
Public Customer GetCutomer() {?}
When I checked the result returned from this method in Jscript, I found that the returned object type is ?Object? not ?Customer?, even it is registered type (the ?result.__type? property is ?Customer?), but when I create a Customer object in Jscript ?e.g. var xx = new Customer()? the xx type is ?Customer?.
( I checked the type using xx.constructor.typeName )
Is there are any way to enforce the AAP.NET AJAX to insatiate the proper type when de-serializing the result, I need this because I want to add a common method for this type in javascript through the ?prototype?.
Any help is highly appreciated.
...
Go to the complete details ...