As an aside, I am trying to work with the JavaScriptObject approach at
the moment, and the values are coming out of the object double-quoted.
It seems that this is by design in the AjaxPro.JavaScriptString object?
Not sure why.
When I inspect the array, the data object being passed looks like this:
{[FirstName, Billy]}
System.Collections.Generic.KeyValuePair<string,AjaxPro.IJavaScriptObject>
But when I do: contact.FirstName = o["FirstName"].Value;
I get the value as "\"Billy\"" instead of just "Billy"
Surely I don't have to trim the extra quotes off of every value before
saving? Am I missing a different method of retrieving the value?
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---