Hi,
sorry, I did't fixed this bug, yet. I'm still over it, it is strange
to create objects from generic types... I will give you a note if it
is fixed. Please stand by...
Regards,
Michael
On 7/11/06, eLad <[EMAIL PROTECTED]> wrote:
>
> Hey
> First of all, thanks for the reply !
>
> I have just downloaded 6.7.11.1 and re-checked the code,
> but still getting an error:
>
> // client
>
> var dic=new Ajax.Web.Dictionary();
> dic.add("x","y");
>
> ServerFunction(dic);
>
> // server
>
> [AjaxMethod]
> public bool ServerFunction(Dictionary<string,string> dic) {
> return true;
> }
>
>
> Message
> Object reference not set to an instance of an object.
>
> Type
> System.NullReferenceException
>
> Stack
> at AjaxPro.JavaScriptDeserializer.Deserialize(IJavaScriptObject o,
> Type type)
> at AjaxPro.XmlHttpRequestProcessor.RetreiveParameters()
> at AjaxPro.AjaxProcHelper.Run()
>
> TargetSite
> System.Object Deserialize(AjaxPro.IJavaScriptObject, System.Type)
>
> Source
> AjaxPro.2
>
>
> also tried to replace <string,string> with
> <IJavaScriptObject,IJavaScriptObject>, same error.
>
> Thank you.
>
>
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---