Thanks Michael! It works perfectly now. Now that's what I call service
:-)

Thanks again for the help and the excellent library.

Cheers

Gavin

Michael Schwarz wrote:
> See http://munich.schwarz-interactive.de/datatype.aspx for an example.
>
> Regards,
> Michael
>
>
> On 6/14/06, Michael Schwarz <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > yes, there is a bug with the current version, I have already fixed
> > this, but it will change the way you have to access the values. I will
> > publish the new release later and send a new message here to explain
> > how to use it. This has to be done for all IDictionary and
> > NameValueCollections.
> >
> > Regards,
> > Michael
> >
> >
> > On 6/14/06, Gavin <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I just upgraded to the latest version and am having the following
> > > problem:
> > >
> > > I create a Dictionary<string,string> object on the server and then pass
> > > it to the client via a piece of script like this (where CurrentModules
> > > is an instance of a generic Dictionary<string,string> class).
> > >
> > > "var modules = " +
> > > AjaxPro.JavaScriptSerializer.Serialize(CurrentModules)"
> > >
> > > this arrives fine on the client (where I subsequently modify the
> > > values) but it gives an error when I pass this object back to a server
> > > side method that accepts a parameter of type Dictionary<string,string>.
> > >
> > > e.g. SaveModules(Dictionary<string,string> modules)
> > >
> > > I get an error in the deserialization process.
> > >
> > > Is this supported? It worked before upgrading. Perhaps there is
> > > something extra I need to do in the latest version to get this working?
> > >
> > > Thank you for your time,
> > >
> > > Gavin
> > >
> > >
> > > > >
> > >
> >
> >
> > --
> > 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]
> >
>
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to