Yes, if you have following struct:
public struct Person
{
public string FirstName;
public int Age;
}
you can access these values in JavaScript like this:
<script type="text/javascript">
function callback(res) {
var p = res.value;
alert(p.FirstName);
}
</script>
Regards,
Michael
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> IMHO almost all fields of Instrument_Info are avaible in the returned
> value, use res."field" to get a value of the field where "field" is
> field of your structure.
>
>
> >
>
--
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/
mailto:[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
-~----------~----~----~----~------~----~------~--~---